summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/HALKit/AMD64/Paging.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-01-30 08:10:48 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-01-30 08:10:48 +0100
commit72b41e2f711198ad9baa846e7ba37f6e070cedb0 (patch)
tree412e384fb7ad218098d69c52d5d92a2801ec8a8e /src/kernel/HALKit/AMD64/Paging.h
parent951e967388dbf628e9a4b8b6ce4e8a637de91d75 (diff)
chore: ddk: Fix build on nebuild for C++ DDK.
chore: kernel: Tweaks and internal improvements. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/kernel/HALKit/AMD64/Paging.h')
-rw-r--r--src/kernel/HALKit/AMD64/Paging.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/kernel/HALKit/AMD64/Paging.h b/src/kernel/HALKit/AMD64/Paging.h
index 41543f5d..96f87973 100644
--- a/src/kernel/HALKit/AMD64/Paging.h
+++ b/src/kernel/HALKit/AMD64/Paging.h
@@ -56,9 +56,7 @@ namespace Detail {
kPageEnable = 31,
};
- inline UInt8 control_register_cast(ControlRegisterBits reg) {
- return static_cast<UInt8>(reg);
- }
+ inline UInt8 control_register_cast(ControlRegisterBits reg) { return static_cast<UInt8>(reg); }
} // namespace Detail
auto mm_alloc_bitmap(Boolean wr, Boolean user, SizeT size, Bool is_page, SizeT pad = 0) -> VoidPtr;