diff options
Diffstat (limited to 'include/boot')
| -rw-r--r-- | include/boot/boot_info.h | 4 |
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" }; |
