diff options
author | James Mintram <me@jamesrm.com> | 2021-12-01 17:12:30 +0000 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2021-12-01 11:22:04 -0800 |
commit | 1e5b82f0c62b7135797b673378e193e930a6e609 (patch) | |
tree | 89193cf3310bb2063b6bb849a636c7296810e481 /Kernel/Arch | |
parent | b9ae6daa0257d77c48e6557b40b97b39f67be19c (diff) | |
download | serenity-1e5b82f0c62b7135797b673378e193e930a6e609.zip |
Kernel: Add an x86 include check+error in x86/IO.h
Diffstat (limited to 'Kernel/Arch')
-rw-r--r-- | Kernel/Arch/x86/IO.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Kernel/Arch/x86/IO.h b/Kernel/Arch/x86/IO.h index d53264c22e..f8a2c38c26 100644 --- a/Kernel/Arch/x86/IO.h +++ b/Kernel/Arch/x86/IO.h @@ -10,6 +10,9 @@ #include <AK/String.h> #include <AK/Types.h> +#include <AK/Platform.h> +VALIDATE_IS_X86() + namespace IO { // Every character written to this IO port is written to the Bochs console |