diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-09-03 16:16:46 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-09-03 16:16:46 +0200 |
| commit | a66776b64249ba688655a30c0d34e4c87c2c674e (patch) | |
| tree | 09ef1ed363de143ac21520f320071e6a92b6fcfd /kernel/x86.h | |
| parent | ae361f46b092264f5107eaaf8fc594e0ca679014 (diff) | |
changed acpi scan range.
Diffstat (limited to 'kernel/x86.h')
| -rw-r--r-- | kernel/x86.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/x86.h b/kernel/x86.h index 96671b5..a7c1953 100644 --- a/kernel/x86.h +++ b/kernel/x86.h @@ -6,8 +6,8 @@ // todo: cli/sti?? // http://wiki.osdev.org/Interrupt_Service_Routines // Black Magic: Strongly Discouraged! -#define X86_IRQ_BEGIN asm("\npusha"); -#define X86_IRQ_END asm("mov $0x20, %al\nout %al, $0x20\npopa\nleave\niret"); +#define X86_IRQ_BEGIN asm("\ncli\npusha"); +#define X86_IRQ_END asm("mov $0x20, %al\nout %al, $0x20\npopa\nleave\nsti\niret"); void x86_outb(int port, uint8_t data); uint8_t x86_inb(int port); |
