diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-04-02 08:14:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-02 08:14:36 +0200 |
| commit | 5129ac16ddd5fb8362eb2fbd123e28d2b3e4c90f (patch) | |
| tree | 2fde230004e377f734983484f8e12fb0414a1668 /dev/kernel/HALKit/AMD64/HalPagingMgrAMD64.cc | |
| parent | 25dd194903b3ccfe4461fe189a04d902da93ac8f (diff) | |
| parent | 6c7e5ebc003a0bc4f98c23a8f9754b273a6e3a28 (diff) | |
Merge pull request #7 from amlel-el-mahrouss/dev
boot/net: rename Boot.S files, clarify EEPROM implication, and prep UDP read
Diffstat (limited to 'dev/kernel/HALKit/AMD64/HalPagingMgrAMD64.cc')
| -rw-r--r-- | dev/kernel/HALKit/AMD64/HalPagingMgrAMD64.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dev/kernel/HALKit/AMD64/HalPagingMgrAMD64.cc b/dev/kernel/HALKit/AMD64/HalPagingMgrAMD64.cc index 5819f1d9..63796393 100644 --- a/dev/kernel/HALKit/AMD64/HalPagingMgrAMD64.cc +++ b/dev/kernel/HALKit/AMD64/HalPagingMgrAMD64.cc @@ -17,7 +17,7 @@ namespace Kernel::HAL /***********************************************************************************/ /// \brief Page store type. /***********************************************************************************/ - struct NE_PAGE_STORE final + struct PageStore final { struct { @@ -43,9 +43,9 @@ namespace Kernel::HAL return pte && pte->User; } - static NE_PAGE_STORE& The() + static PageStore& The() { - static NE_PAGE_STORE the; + static PageStore the; return the; } }; @@ -60,7 +60,7 @@ namespace Kernel::HAL UInt64 cr3 = (UInt64)hal_read_cr3(); - NE_PAGE_STORE& page_store = NE_PAGE_STORE::The(); + PageStore& page_store = PageStore::The(); // Extract the indices from the virtual address UInt64 pml4_index = ((UIntPtr)virtual_address >> 39) & kPmlIndexMask; @@ -123,7 +123,7 @@ namespace Kernel::HAL UInt64 cr3 = (UInt64)hal_read_cr3(); - NE_PAGE_STORE& page_store = NE_PAGE_STORE::The(); + PageStore& page_store = PageStore::The(); // Extract the indices from the virtual address UInt64 pml4_index = ((UIntPtr)virtual_address >> 39) & kPmlIndexMask; @@ -189,7 +189,7 @@ namespace Kernel::HAL mmi_page_status(pt_entry); - NE_PAGE_STORE& page_store = NE_PAGE_STORE::The(); + PageStore& page_store = PageStore::The(); // Update Internal store. |
