pub unsafe fn parse_cmdline(ptr: u64, len: u64)Expand description
Parse kernel cmdline from Limine boot arguments.
ptr is a pointer to a null-terminated C string provided by the bootloader.
len is the length of the cmdline string (including the null terminator).
This function:
- Stores the cmdline globally for
/proc/cmdlineaccess. - Detects
console=ttyS0,baudparameters and logs the configuration.