Searched refs:virtaddr (Results 1 – 2 of 2) sorted by relevance
60 let virtaddr = standard_device in ahci_init() localVariable71 let hba_mem = unsafe { (virtaddr.data() as *mut HbaMem).as_mut().unwrap() }; in ahci_init()72 hba_mem_list.push(unsafe { (virtaddr.data() as *mut HbaMem).as_mut().unwrap() }); in ahci_init()
479 let virtaddr = unsafe { MMArch::phys_2_virt(PhysAddr::new(segment_base as usize)).unwrap() }; in get_segment_base() localVariable481 return virtaddr.data() as u64; in get_segment_base()