summaryrefslogtreecommitdiffhomepage
path: root/dev/boot/modules/SysChk
diff options
context:
space:
mode:
authorAmlal <amlal@nekernel.org>2025-04-30 12:34:54 +0200
committerAmlal <amlal@nekernel.org>2025-04-30 12:34:54 +0200
commitfcea594f2df75dcd0f3d4bfeac988b748be89c13 (patch)
tree0204f5575637644879c89a1a3c00b5848043e89b /dev/boot/modules/SysChk
parent911bf2d68a4904d8ff838d31e00ef65d4e03063c (diff)
kernel: keep track of cr3 in AMD HAL/HEL.
why? To keep track of it, avoid security issues in the future. Signed-off-by: Amlal <amlal@nekernel.org>
Diffstat (limited to 'dev/boot/modules/SysChk')
-rw-r--r--dev/boot/modules/SysChk/SysChk.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/boot/modules/SysChk/SysChk.cc b/dev/boot/modules/SysChk/SysChk.cc
index 1c5255fb..c93ef83b 100644
--- a/dev/boot/modules/SysChk/SysChk.cc
+++ b/dev/boot/modules/SysChk/SysChk.cc
@@ -24,7 +24,7 @@
// Makes the compiler shut up.
#ifndef kMachineModel
#define kMachineModel "OS"
-#endif // !kMachineModel
+#endif // !kMachineModel
EXTERN_C Int32 SysChkModuleMain(Kernel::HEL::BootInfoHeader* handover) {
fw_init_efi((EfiSystemTable*) handover->f_FirmwareCustomTables[1]);