diff options
author | James Mintram <me@jamesrm.com> | 2021-12-01 17:11:10 +0000 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2021-12-01 11:22:04 -0800 |
commit | 8350b44ebd3c8974f03471554afa65b1fd625482 (patch) | |
tree | 9d1b9381f1d8c6d94473d7d153f31feca1b40a2a /Kernel/Arch/x86/CPU.h | |
parent | 3e3c632969fbb9db9755fb1132f39ab3614e0e20 (diff) | |
download | serenity-8350b44ebd3c8974f03471554afa65b1fd625482.zip |
Kernel: Add an x86 include check+error in x86/CPU.h
Diffstat (limited to 'Kernel/Arch/x86/CPU.h')
-rw-r--r-- | Kernel/Arch/x86/CPU.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Kernel/Arch/x86/CPU.h b/Kernel/Arch/x86/CPU.h index 5523866118..d0c7f54259 100644 --- a/Kernel/Arch/x86/CPU.h +++ b/Kernel/Arch/x86/CPU.h @@ -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) |