MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / hlt_loop

Function hlt_loop

kernel/src/lib.rs:37–41  ·  view source on GitHub ↗

Energy-efficient endless loop

()

Source from the content-addressed store, hash-verified

35
36/// Energy-efficient endless loop
37pub fn hlt_loop() -> ! {
38 loop {
39 x86_64::instructions::hlt();
40 }
41}
42
43// Custom test framework
44

Callers 6

kernel_thread_mainFunction · 0.85
kernel_entryFunction · 0.85
panicFunction · 0.85
test_panic_handlerFunction · 0.85
test_kernel_mainFunction · 0.85
page_fault_handlerFunction · 0.85

Calls

no outgoing calls

Tested by 2

test_panic_handlerFunction · 0.68
test_kernel_mainFunction · 0.68