Skip to main content

select

Function select 

Source
pub fn select(args: &KernelArgs) -> ConsoleMode
Expand description

Pick and publish the console mode from the boot environment.

Idempotent: a second call returns the value selected by the first one, so later code can call it freely without depending on init ordering.