summaryrefslogtreecommitdiff
path: root/include/boot/boot_info.h
diff options
context:
space:
mode:
authorArseney300 <Arseney300@gmail.com>2026-04-11 17:48:52 +0700
committerArseney300 <Arseney300@gmail.com>2026-04-11 17:48:52 +0700
commit496246c92dabe6757480147016490ea6ae43bb66 (patch)
treecb922a0b1569410db44f6da17862b7e949df9fad /include/boot/boot_info.h
parent2f95320e0859029f520d46f777591751dcd39634 (diff)
bastion: add Kernel, Processor, AcpiTables, DeviceTree classesHEADmaster
Kernel: main singleton object, that provide access to core kernel entities Processor: empty class, that will be used later for per-CPU entities AcpiTables: class for acpi access (can be obtained through the kernel object) DeviceTree: class for dt access (can be obtained through the kernel object)
Diffstat (limited to 'include/boot/boot_info.h')
-rw-r--r--include/boot/boot_info.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/boot/boot_info.h b/include/boot/boot_info.h
index cc02ae8..3c1e45f 100644
--- a/include/boot/boot_info.h
+++ b/include/boot/boot_info.h
@@ -73,4 +73,8 @@ struct BootInfo {
// Higher-half direct map base (if set up by loader)
uint64_t hhdm_base; // e.g., 0xFFFF800000000000
+
+ // Kernel command line (null-terminated string, or nullptr if none)
+ // The loader can read this from a config file on the ESP.
+ const char* cmdline; // e.g., "verbose nosmp mem=256M"
};