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
Notes: sideshowbarker 2024-07-17 23:14:32 +09:00
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>

View File

@ -7,6 +7,7 @@
#include <AK/Assertions.h>
#include <AK/Memory.h>
#include <AK/StringView.h>
#include <Kernel/Arch/x86/PageFault.h>
#include <Kernel/BootInfo.h>
#include <Kernel/CMOS.h>
#include <Kernel/FileSystem/Inode.h>

View File

@ -11,7 +11,6 @@
#include <AK/NonnullOwnPtrVector.h>
#include <AK/NonnullRefPtrVector.h>
#include <AK/String.h>
#include <Kernel/Arch/x86/PageFault.h>
#include <Kernel/Arch/x86/TrapFrame.h>
#include <Kernel/Forward.h>
#include <Kernel/Locking/Spinlock.h>

View File

@ -6,6 +6,7 @@
#include <AK/Memory.h>
#include <AK/StringView.h>
#include <Kernel/Arch/x86/PageFault.h>
#include <Kernel/Debug.h>
#include <Kernel/FileSystem/Inode.h>
#include <Kernel/Memory/AnonymousVMObject.h>

View File

@ -9,7 +9,6 @@
#include <AK/EnumBits.h>
#include <AK/IntrusiveList.h>
#include <AK/Weakable.h>
#include <Kernel/Arch/x86/PageFault.h>
#include <Kernel/Forward.h>
#include <Kernel/Heap/SlabAllocator.h>
#include <Kernel/KString.h>
@ -18,6 +17,10 @@
#include <Kernel/Sections.h>
#include <Kernel/UnixTypes.h>
namespace Kernel {
class PageFault;
}
namespace Kernel::Memory {
enum class ShouldFlushTLB {