Home
last modified time | relevance | path

Searched refs:virtaddr (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/driver/disk/ahci/
H A Dmod.rs60 let virtaddr = standard_device in ahci_init() localVariable
71 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()
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/
H A Dvcpu.rs479 let virtaddr = unsafe { MMArch::phys_2_virt(PhysAddr::new(segment_base as usize)).unwrap() }; in get_segment_base() localVariable
481 return virtaddr.data() as u64; in get_segment_base()