MCPcopy Create free account
hub / github.com/LibertyOS-Development/kernel / _start

Function _start

tests/stackoverflow.rs:39–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37
38#[no_mangle]
39pub extern "C" fn _start() -> !
40{
41 serprint!("STACKOVERFLOW::STACK_OVERFLOW...\t");
42 libertyos_kernel::sys::gdt::init();
43 init_test_idt();
44 stackoverflow();
45 panic!("[MSG] EXEC CONTINUED AFTER STACK OVERFLOW");
46}
47
48#[allow(unconditional_recursion)]
49fn stackoverflow()

Callers

nothing calls this directly

Calls 3

init_test_idtFunction · 0.85
stackoverflowFunction · 0.85
initFunction · 0.50

Tested by

no test coverage detected