1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:38:11 +00:00

Kernel: Add an x86 include check+error in x86/DescriptorTable.h

This commit is contained in:
James Mintram 2021-12-01 17:11:40 +00:00 committed by Brian Gianforcaro
parent db1fbdabf9
commit 62d86afee9

View file

@ -11,6 +11,9 @@
#include <AK/Types.h>
#include <Kernel/VirtualAddress.h>
#include <AK/Platform.h>
VALIDATE_IS_X86()
#if ARCH(I386)
# define GDT_SELECTOR_CODE0 0x08
# define GDT_SELECTOR_DATA0 0x10