aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc/drivers
diff options
context:
space:
mode:
authorMarvin Borner2021-09-12 13:51:52 +0200
committerMarvin Borner2021-09-12 13:51:52 +0200
commitf582a27638479da361c0f2e24501d6662e08b522 (patch)
treeb7e6500953f93fd26fb645b8312510dcfc3d86ff /kernel/inc/drivers
parent21d3377822c02a8857cb04ac9fe37e932e2f61e7 (diff)
Fixed new mke2fs 256B inode due to 2038 prevention
Diffstat (limited to 'kernel/inc/drivers')
-rw-r--r--kernel/inc/drivers/ide.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/inc/drivers/ide.h b/kernel/inc/drivers/ide.h
index dbe0652..f4b4c7d 100644
--- a/kernel/inc/drivers/ide.h
+++ b/kernel/inc/drivers/ide.h
@@ -8,7 +8,7 @@
#define BLOCK_SIZE 1024
#define BLOCK_COUNT 256 // BLOCK_SIZE / sizeof(u32)
#define SECTOR_SIZE 512
-#define SECTOR_COUNT (BLOCK_SIZE / SECTOR_SIZE)
+#define SECTOR_COUNT (BLOCK_SIZE / SECTOR_SIZE) // 2
#define ATA_PRIMARY_IO 0x1f0
#define ATA_SECONDARY_IO 0x170