Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
37
pub fn hlt_loop() -> ! {
38
loop {
39
x86_64::instructions::hlt();
40
}
41
}
42
43
// Custom test framework
44
Callers
6
kernel_thread_main
Function · 0.85
kernel_entry
Function · 0.85
panic
Function · 0.85
test_panic_handler
Function · 0.85
test_kernel_main
Function · 0.85
page_fault_handler
Function · 0.85
Calls
no outgoing calls
Tested by
2
test_panic_handler
Function · 0.68
test_kernel_main
Function · 0.68