diff options
author | Marvin Borner | 2020-09-19 23:28:47 +0200 |
---|---|---|
committer | Marvin Borner | 2020-09-19 23:28:47 +0200 |
commit | 034762e7caf8e8aa8ad20cf1a81c9582876e14d6 (patch) | |
tree | b1c81f6d3ad27296213a31866d6cfd38109ae878 /kernel/drivers | |
parent | c6cde5937d0742b11a7d2fedacc0b093478fe994 (diff) |
Wrroooooooom, I'm faster. ig
Diffstat (limited to 'kernel/drivers')
-rw-r--r-- | kernel/drivers/ide.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/ide.c b/kernel/drivers/ide.c index fe3955c..d637a2b 100644 --- a/kernel/drivers/ide.c +++ b/kernel/drivers/ide.c @@ -18,7 +18,7 @@ int ide_wait(int check) return 0; } -void *ide_read(void *b, u32 block) +void __attribute__((optimize("O0"))) * ide_read(void *b, u32 block) { int sector_per_block = BLOCK_SIZE / SECTOR_SIZE; // 2 int sector = block * sector_per_block; |