1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 07:28:11 +00:00

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

This commit is contained in:
James Mintram 2021-12-01 17:14:19 +00:00 committed by Brian Gianforcaro
parent 17fb2adf61
commit eb33df0c30
6 changed files with 10 additions and 2 deletions

View file

@ -9,6 +9,9 @@
#include <AK/Types.h>
#include <Kernel/VirtualAddress.h>
#include <AK/Platform.h>
VALIDATE_IS_X86()
namespace Kernel {
struct PageFaultFlags {

View file

@ -24,6 +24,7 @@
#include <Kernel/Arch/Processor.h>
#include <Kernel/Arch/RegisterState.h>
#include <Kernel/Arch/x86/ISRStubs.h>
#include <Kernel/Arch/x86/PageFault.h>
#include <Kernel/Arch/x86/TrapFrame.h>
#include <Kernel/KSyms.h>