diff options
| author | Amlal <amlal@nekernel.org> | 2025-04-30 12:34:54 +0200 |
|---|---|---|
| committer | Amlal <amlal@nekernel.org> | 2025-04-30 12:34:54 +0200 |
| commit | fcea594f2df75dcd0f3d4bfeac988b748be89c13 (patch) | |
| tree | 0204f5575637644879c89a1a3c00b5848043e89b /dev/kernel/HALKit/AMD64/Paging.h | |
| parent | 911bf2d68a4904d8ff838d31e00ef65d4e03063c (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/kernel/HALKit/AMD64/Paging.h')
| -rw-r--r-- | dev/kernel/HALKit/AMD64/Paging.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/kernel/HALKit/AMD64/Paging.h b/dev/kernel/HALKit/AMD64/Paging.h index 074c1113..3c7107bc 100644 --- a/dev/kernel/HALKit/AMD64/Paging.h +++ b/dev/kernel/HALKit/AMD64/Paging.h @@ -37,7 +37,7 @@ EXTERN_C void hal_write_cr0(Kernel::VoidPtr bit); EXTERN_C Kernel::VoidPtr hal_read_cr0(); // @brief CPU control register. EXTERN_C Kernel::VoidPtr hal_read_cr2(); // @brief Fault address. -EXTERN_C Kernel::VoidPtr hal_read_cr3(); // @brief Page table. +EXTERN_C Kernel::VoidPtr hal_read_cr3(); // @brief Page directory inside cr3 register. namespace Kernel::HAL { namespace Detail { |
