aboutsummaryrefslogtreecommitdiff
path: root/kapi
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-08-18 13:32:36 +0200
committerFelix Morgner <felix.morgner@ost.ch>2026-08-18 13:32:45 +0200
commitf3fc901290c65ec8a4c025c30a316cb2ac5dd53d (patch)
tree75a3ef0086b088280612f4b36692ebaf9cc01a98 /kapi
parent493f50c697b17049b820e65664af9f4a7c9c0c2c (diff)
downloadkernel-f3fc901290c65ec8a4c025c30a316cb2ac5dd53d.tar.xz
kernel-f3fc901290c65ec8a4c025c30a316cb2ac5dd53d.zip
kstd: clean up units
Diffstat (limited to 'kapi')
-rw-r--r--kapi/kapi/memory/layout.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kapi/kapi/memory/layout.hpp b/kapi/kapi/memory/layout.hpp
index 5f720a51..a39997ac 100644
--- a/kapi/kapi/memory/layout.hpp
+++ b/kapi/kapi/memory/layout.hpp
@@ -13,12 +13,12 @@ namespace kapi::memory
//! The size of a single page of virtual memory.
//!
//! Platforms that use different sizes of pages are expected to emulate 4 KiB pages towards the kernel.
- constexpr auto page_size = kstd::units::KiB(4);
+ constexpr auto page_size = kstd::units::KiB(4u);
//! The size of a single frame of physical memory.
//!
//! Platforms that use different sizes of frames are expected to emulate 4 KiB pages towards the kernel.
- constexpr auto frame_size = kstd::units::KiB(4);
+ constexpr auto frame_size = kstd::units::KiB(4u);
//! The linear base address of the higher-half direct map.
//!