MCPcopy Index your code
hub / github.com/FrameworkComputer/framework-system / main

Function main

framework_uefi/src/main.rs:15–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13
14#[entry]
15fn main() -> Status {
16 uefi::helpers::init().unwrap();
17
18 let args = commandline::uefi::get_args();
19 let args = commandline::parse(&args);
20 if commandline::run_with_args(&args, false) == 0 {
21 return Status::SUCCESS;
22 }
23
24 // Force it go into UEFI shell
25 Status::LOAD_ERROR
26}

Callers

nothing calls this directly

Calls 4

run_with_argsFunction · 0.85
initFunction · 0.50
get_argsFunction · 0.50
parseFunction · 0.50

Tested by

no test coverage detected