MCPcopy 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
63pub 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
74pub fn hltloop() -> !
75{

Callers 4

test_kernmainFunction · 0.70
_startFunction · 0.70
startFunction · 0.70
_startFunction · 0.50

Calls 3

idtinitFunction · 0.85
lockMethod · 0.80
initMethod · 0.45

Tested by 1

test_kernmainFunction · 0.56