1
Fork 0
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:
James Mintram 2021-12-01 17:11:10 +00:00 committed by Brian Gianforcaro
parent 3e3c632969
commit 8350b44ebd
2 changed files with 3 additions and 1 deletions

View file

@ -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)