Home
last modified time | relevance | path

Searched refs:MMIOSpaceGuard (Results 1 – 11 of 11) sorted by relevance

/DragonOS/kernel/src/driver/acpi/
H A Dmod.rs13 mmio_buddy::{mmio_pool, MMIOSpaceGuard},
212 MMIOSpaceGuard::leak(mmio_guard); in map_physical_region()
219 MMIOSpaceGuard::from_raw( in unmap_physical_region()
/DragonOS/kernel/src/mm/
H A Dmmio_buddy.rs486 pub fn create_mmio(&self, size: usize) -> Result<MMIOSpaceGuard, SystemError> { in create_mmio() argument
509 unsafe { MMIOSpaceGuard::from_raw(region.vaddr, new_size, false) }; in create_mmio()
622 pub struct MMIOSpaceGuard { struct
628 impl MMIOSpaceGuard { argument
647 MMIOSpaceGuard { in from_raw()
756 impl Drop for MMIOSpaceGuard { implementation
/DragonOS/kernel/src/driver/virtio/
H A Dtransport_mmio.rs18 mmio_buddy::{mmio_pool, MMIOSpaceGuard},
25 _mmio_guard: MMIOSpaceGuard,
/DragonOS/kernel/src/libs/lib_ui/
H A Dscreen_manager.rs16 mm::{mmio_buddy::MMIOSpaceGuard, VirtAddr},
62 device_buffer_mmio_guard: Option<Arc<MMIOSpaceGuard>>,
115 pub unsafe fn set_device_buffer_mmio_guard(&mut self, guard: Arc<MMIOSpaceGuard>) { in set_device_buffer_mmio_guard() argument
126 mut device_buffer_mmio_guard: Option<MMIOSpaceGuard>, in new_device_buffer() argument
/DragonOS/kernel/src/driver/pci/
H A Droot.rs10 mmio_buddy::{mmio_pool, MMIOSpaceGuard},
33 pub mmio_guard: Option<Arc<MMIOSpaceGuard>>, //映射后的虚拟地址,为方便访问数据这里转化成指针
H A Dpci.rs14 use crate::mm::mmio_buddy::{mmio_pool, MMIOSpaceGuard};
1190 mmio_guard: Arc<MMIOSpaceGuard>,
1362 let space_guard: Arc<MMIOSpaceGuard>; in pci_bar_init()
/DragonOS/kernel/src/arch/x86_64/driver/
H A Dhpet.rs30 mmio_buddy::{mmio_pool, MMIOSpaceGuard},
53 _mmio_guard: MMIOSpaceGuard,
/DragonOS/kernel/src/driver/open_firmware/
H A Dfdt.rs13 mm::{memblock::mem_block_manager, mmio_buddy::MMIOSpaceGuard, PhysAddr},
54 fdt_map_guard: Option<MMIOSpaceGuard>,
75 pub unsafe fn set_fdt_map_guard(&self, guard: Option<MMIOSpaceGuard>) { in set_fdt_map_guard() argument
/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dxapic.rs11 mmio_buddy::{mmio_pool, MMIOSpaceGuard},
124 map_guard: MMIOSpaceGuard,
H A Dioapic.rs27 mmio_buddy::{mmio_pool, MMIOSpaceGuard},
53 mmio_guard: MMIOSpaceGuard,
/DragonOS/kernel/src/driver/irqchip/
H A Driscv_sifive_plic.rs49 mmio_buddy::{mmio_pool, MMIOSpaceGuard},
75 mmio_guard: Option<MMIOSpaceGuard>,
82 mmio_guard: MMIOSpaceGuard, in new() argument