From e813d9576bd1e3366b2756ec2b00d1627be8e58a Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Wed, 19 Aug 2026 10:31:23 +0200 Subject: kapi: use bytes for size in boot modules --- kapi/kapi/boot_modules/module.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kapi') diff --git a/kapi/kapi/boot_modules/module.hpp b/kapi/kapi/boot_modules/module.hpp index 99e7b2ca..4f4cc0a9 100644 --- a/kapi/kapi/boot_modules/module.hpp +++ b/kapi/kapi/boot_modules/module.hpp @@ -3,7 +3,8 @@ #include -#include +#include + #include namespace kapi::boot_modules @@ -11,16 +12,15 @@ namespace kapi::boot_modules //! @addtogroup kapi-boot_modules //! @{ - - // ! The boot module struct - // ! - // ! The boot module struct represents a module loaded by the bootloader, and contains information about it, such as - // ! its name, virtual start address, and size. + //! A single boot module. struct module { + //! The name of this module. std::string_view name{}; + //! The linear address to which the module was loaded. memory::linear_address start_address{}; - std::size_t size{}; + //! The size of the module. + kstd::bytes size{}; }; //! @} -- cgit v1.2.3