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

Function get_mut

kernel/src/memory/kernel_info.rs:52–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50}
51
52pub fn get_mut() -> &'static mut KernelInfo {
53 let ptr = FRAME_VIRTADDR.load(Ordering::Relaxed) as *mut KernelInfo;
54 unsafe{&mut (*ptr)}
55}
56
57pub fn add_to_user_table(
58 mapper: &mut impl Mapper<Size4KiB>,

Callers 1

pit_interrupt_notifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected