Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/acpi/
H A Dmod.rs32 static mut RSDP_TMP_BOX: Option<AlignedBox<[u8; 4096], 4096>> = None; constant
121 RSDP_TMP_BOX = Some(AlignedBox::new_zeroed().expect("rs_acpi_init(): failed to alloc")) in rsdp_paddr()
131 unsafe { RSDP_TMP_BOX.as_mut().unwrap()[0..size].copy_from_slice(tmp_data) }; in rsdp_paddr()
134 RSDP_TMP_BOX.as_ref().unwrap().as_ptr() as usize in rsdp_paddr()
150 RSDP_TMP_BOX = None; in drop_rsdp_tmp_box()