diff options
Diffstat (limited to 'src/drivers/cpu.c')
-rw-r--r-- | src/drivers/cpu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/cpu.c b/src/drivers/cpu.c index d6a1760..945dc4a 100644 --- a/src/drivers/cpu.c +++ b/src/drivers/cpu.c @@ -24,7 +24,8 @@ u32 inl(u16 port) return value; } -void insl(u16 port, void *addr, int n) +// TODO: Fix optimization issues with insl +void __attribute__((optimize("O0"))) insl(u16 port, void *addr, int n) { __asm__("cld; rep insl" : "=D"(addr), "=c"(n) |