Home
last modified time | relevance | path

Searched refs:EarlyIoRemap (Results 1 – 5 of 5) sorted by relevance

/DragonOS/kernel/src/driver/firmware/efi/
H A Dtables.rs18 early_ioremap::EarlyIoRemap, memblock::mem_block_manager, MemoryManagementArch, PhysAddr,
56 EarlyIoRemap::map_not_aligned(firmware_vendor, TMPBUF_SIZE * size_of::<u16>(), true); in report_systable_header()
69 EarlyIoRemap::unmap(fw_ptr).map_err(|e|{ in report_systable_header()
108 let vaddr = EarlyIoRemap::map_not_aligned(prev_paddr, MMArch::PAGE_SIZE, true) in parse_config_tables()
133 EarlyIoRemap::unmap(vaddr).unwrap(); in parse_config_tables()
150 EarlyIoRemap::unmap(vaddr).unwrap(); in parse_config_tables()
156 EarlyIoRemap::unmap(vaddr).unwrap(); in parse_config_tables()
403 let vaddr = EarlyIoRemap::map_not_aligned(table_paddr, table_map_size, true); in match_table()
417 EarlyIoRemap::unmap(vaddr).unwrap(); in match_table()
H A Dinit.rs15 allocator::page_frame::PhysPageFrame, early_ioremap::EarlyIoRemap,
135 EarlyIoRemap::unmap(st_vaddr) in uefi_init()
146 let st_vaddr = EarlyIoRemap::map_not_aligned(system_table, st_size, true).map_err(|e| { in uefi_init()
192 let config_table_vaddr = EarlyIoRemap::map_not_aligned( in uefi_init()
212 EarlyIoRemap::unmap(config_table_vaddr).expect("Failed to unmap EFI config table"); in uefi_init()
H A Dmemmap.rs9 mm::{early_ioremap::EarlyIoRemap, PhysAddr, VirtAddr},
117 let mut vaddr = EarlyIoRemap::map( in do_efi_memmap_init()
160 EarlyIoRemap::unmap(inner_guard.mmap.vaddr.take().unwrap()).unwrap(); in efi_memmap_unmap()
/DragonOS/kernel/src/mm/
H A Dearly_ioremap.rs14 static SLOTS: SpinLock<[Slot; EarlyIoRemap::SLOT_CNT]> =
15 SpinLock::new([Slot::DEFAULT; EarlyIoRemap::SLOT_CNT]);
25 pub struct EarlyIoRemap; struct
27 impl EarlyIoRemap { impl
/DragonOS/kernel/src/driver/video/fbdev/
H A Dvesafb.rs41 mm::{early_ioremap::EarlyIoRemap, PhysAddr, VirtAddr},
936 let (buf_vaddr, _) = EarlyIoRemap::map(paddr, size, false)?; in vesafb_early_map()