From f3fc901290c65ec8a4c025c30a316cb2ac5dd53d Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Tue, 18 Aug 2026 13:32:36 +0200 Subject: kstd: clean up units --- kapi/kapi/memory/layout.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kapi') 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. //! -- cgit v1.2.3