summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/HALKit/AMD64/Paging.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-03 15:44:28 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-03-03 15:44:28 +0100
commitc7fe1ab6e2f97a7f0bfc6aaf97374f841fb63c0d (patch)
treeedfef006c63d73ef6b48b537b6f21295db6ffe9a /src/kernel/HALKit/AMD64/Paging.h
parent92bbadf36f8bdffed9090cb345e57fc252c5a133 (diff)
feat: syschk, hal{x64}: ATA PIO patches, reworked I/O system.
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 89d48e8a..1fbde52c 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;