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

This commit is contained in:
James Mintram 2021-12-01 17:15:14 +00:00 committed by Brian Gianforcaro
commit 34b341e35d
Notes: sideshowbarker 2024-07-17 23:14:19 +09:00

View file

@ -12,6 +12,9 @@
#include <Kernel/Arch/x86/ASM_wrapper.h>
#include <Kernel/Arch/x86/CPU.h>
#include <AK/Platform.h>
VALIDATE_IS_X86()
namespace Kernel {
struct [[gnu::packed]] RegisterState {