diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-01-31 19:05:36 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-01-31 19:05:36 +0100 |
| commit | d0c7a3e05a1bb5c9cffd1a0946e403d3a8e37e63 (patch) | |
| tree | 686f7f3c99a08a7bebfc925839f0f9d882177c54 /dev/Kernel/HALKit/AMD64/Paging.h | |
| parent | 9c1e80e1bb3a8d549a9053f0d7bf4afb0c806f80 (diff) | |
Match the changes in OpenNE, (without reusing it)
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Kernel/HALKit/AMD64/Paging.h')
| -rw-r--r-- | dev/Kernel/HALKit/AMD64/Paging.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dev/Kernel/HALKit/AMD64/Paging.h b/dev/Kernel/HALKit/AMD64/Paging.h index e58d2466..abba54b1 100644 --- a/dev/Kernel/HALKit/AMD64/Paging.h +++ b/dev/Kernel/HALKit/AMD64/Paging.h @@ -42,7 +42,7 @@ EXTERN_C Kernel::VoidPtr hal_read_cr3(); // @brief Page table. namespace Kernel::HAL { /// @brief Final page entry (Not PML, PDPT) - struct PACKED ZKA_PTE final + struct PACKED NE_PTE final { UInt64 Present : 1; UInt64 Wr : 1; @@ -83,9 +83,9 @@ namespace Kernel::HAL } } // namespace Detail - struct ZKA_PDE final + struct NE_PDE final { - ZKA_PTE* ALIGN(kPageAlign) fEntries[kPageMax]; + NE_PTE* ALIGN(kPageAlign) fEntries[kPageMax]; }; auto mm_alloc_bitmap(Boolean wr, Boolean user, SizeT size, Bool is_page) -> VoidPtr; @@ -94,6 +94,6 @@ namespace Kernel::HAL namespace Kernel { - typedef HAL::ZKA_PTE PTE; - typedef HAL::ZKA_PDE PDE; + typedef HAL::NE_PTE PTE; + typedef HAL::NE_PDE PDE; } // namespace Kernel |
