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

This commit is contained in:
James Mintram 2021-12-01 17:15:46 +00:00 committed by Brian Gianforcaro
parent 80cdfee10a
commit b08eb37b11
Notes: sideshowbarker 2024-07-17 23:14:10 +09:00
3 changed files with 4 additions and 1 deletions

View file

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

View file

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

View file

@ -8,6 +8,7 @@
#include <AK/Singleton.h>
#include <AK/Time.h>
#include <Kernel/Arch/x86/InterruptDisabler.h>
#include <Kernel/Arch/x86/TrapFrame.h>
#include <Kernel/Debug.h>
#include <Kernel/Panic.h>
#include <Kernel/PerformanceManager.h>