aboutsummaryrefslogtreecommitdiff
path: root/kapi
diff options
context:
space:
mode:
Diffstat (limited to 'kapi')
-rw-r--r--kapi/kapi/boot_modules/module.hpp14
1 files changed, 7 insertions, 7 deletions
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 <kapi/memory.hpp>
-#include <cstddef>
+#include <kstd/units.hpp>
+
#include <string_view>
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{};
};
//! @}