mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
Kernel: Add an x86 include check+error in x86/RegisterState.h
This commit is contained in:
parent
1dc1412dee
commit
34b341e35d
Notes:
sideshowbarker
2024-07-17 23:14:19 +09:00
Author: https://github.com/jamesmintram
Commit: 34b341e35d
Pull-request: https://github.com/SerenityOS/serenity/pull/11141
Reviewed-by: https://github.com/bgianfo ✅
Reviewed-by: https://github.com/kleinesfilmroellchen ✅
1 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,9 @@
|
|||
#include <Kernel/Arch/x86/ASM_wrapper.h>
|
||||
#include <Kernel/Arch/x86/CPU.h>
|
||||
|
||||
#include <AK/Platform.h>
|
||||
VALIDATE_IS_X86()
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
struct [[gnu::packed]] RegisterState {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue