Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibertyOS-Development/kernel
/ init
Function
init
src/lib.rs:63–72 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
61
}
62
63
pub fn init()
64
{
65
sys::gdt::init();
66
interrupts::idtinit();
67
unsafe
68
{
69
interrupts::PICS.lock().init()
70
};
71
x86_64::instructions::interrupts::enable();
72
}
73
74
pub fn hltloop() -> !
75
{
Callers
4
test_kernmain
Function · 0.70
_start
Function · 0.70
start
Function · 0.70
_start
Function · 0.50
Calls
3
idtinit
Function · 0.85
lock
Method · 0.80
init
Method · 0.45
Tested by
1
test_kernmain
Function · 0.56