mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:37:36 +00:00
Kernel: Add an x86 include check+error in x86/CPU.h
This commit is contained in:
parent
3e3c632969
commit
8350b44ebd
2 changed files with 3 additions and 1 deletions
|
@ -12,6 +12,9 @@
|
|||
|
||||
#include <Kernel/Arch/x86/DescriptorTable.h>
|
||||
|
||||
#include <AK/Platform.h>
|
||||
VALIDATE_IS_X86()
|
||||
|
||||
/* Map IRQ0-15 @ ISR 0x50-0x5F */
|
||||
#define IRQ_VECTOR_BASE 0x50
|
||||
#define GENERIC_INTERRUPT_HANDLERS_COUNT (256 - IRQ_VECTOR_BASE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue