Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/arch/x86_64/pci/
Dpci.rs61 mmio_base: None, in ecam_root()
/DragonOS-0.1.7/kernel/src/driver/pci/
Dpci.rs515 pub mmio_base: Option<*mut u32>, //映射后的虚拟地址,为方便访问数据这里转化成指针 field
529 …_number, self.bus_begin, self.bus_end, self.physical_address_base, self.mmio_base.unwrap() as usize in fmt()
569 self.mmio_base = Some(virtaddress as *mut u32); in map()
594 (self.mmio_base.unwrap().add((address >> 2) as usize)).read_volatile() in read_config()
613 (self.mmio_base.unwrap().add((address >> 2) as usize)).write_volatile(data) in write_config()