From 4014a36377ff69f6433e7b0af2144bc3a7d29ca7 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 16 Apr 2020 19:06:33 +0200 Subject: Many fix attempts for the divide by zero exception --- src/kernel/fs/ata.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/kernel/fs/ata.h') diff --git a/src/kernel/fs/ata.h b/src/kernel/fs/ata.h index 72ded20..4a2951f 100644 --- a/src/kernel/fs/ata.h +++ b/src/kernel/fs/ata.h @@ -1,7 +1,7 @@ #ifndef ATA_DRIVER_H #define ATA_DRIVER_H -#include +#include #include #include @@ -56,7 +56,7 @@ typedef struct ata_dev { char mountpoint[32]; } __attribute__((packed)) ata_dev_t; -// ATA PCI info +// ATA PCI info of QEMU // TODO: Remove Qemu based device id #define ATA_VENDOR_ID 0x8086 #define ATA_DEVICE_ID 0x7010 @@ -116,4 +116,4 @@ void ata_device_detect(ata_dev_t *dev, int primary); void ata_init(); -#endif \ No newline at end of file +#endif -- cgit v1.2.3