From 3e3c632969fbb9db9755fb1132f39ab3614e0e20 Mon Sep 17 00:00:00 2001 From: James Mintram Date: Wed, 1 Dec 2021 17:10:53 +0000 Subject: [PATCH] Kernel: Add an x86 include check+error in x86/ASM_Wrapper.h --- Kernel/Arch/x86/ASM_wrapper.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Kernel/Arch/x86/ASM_wrapper.h b/Kernel/Arch/x86/ASM_wrapper.h index b101994a6d..63733f1790 100644 --- a/Kernel/Arch/x86/ASM_wrapper.h +++ b/Kernel/Arch/x86/ASM_wrapper.h @@ -8,6 +8,9 @@ #include +#include +VALIDATE_IS_X86() + namespace Kernel { ALWAYS_INLINE void cli()