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