Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/acpi/
H A Dmod.rs3 use acpi::{AcpiHandler, AcpiTables, PlatformInfo};
21 extern crate acpi;
28 static mut __ACPI_TABLE: Option<acpi::AcpiTables<AcpiHandlerImpl>> = None;
68 let acpi_args = boot_params().read().acpi; in init()
93 let res = unsafe { acpi::AcpiTables::from_rsdp(AcpiHandlerImpl, table_paddr.data()) }; in map_tables()
119 fn rsdp_paddr(rsdp_instance: &acpi::rsdp::Rsdp) -> PhysAddr { in rsdp_paddr()
124 let size = core::mem::size_of::<acpi::rsdp::Rsdp>(); in rsdp_paddr()
127 rsdp_instance as *const acpi::rsdp::Rsdp as usize as *const u8, in rsdp_paddr() constant
155 pub fn tables(&self) -> Option<&'static acpi::AcpiTables<AcpiHandlerImpl>> { in tables()
189 ) -> acpi::PhysicalMapping<Self, T> { in map_physical_region()
[all …]
H A Dsysfs.rs3 acpi::acpi_manager,
15 use acpi::sdt::SdtHeader;
280 unsafe impl acpi::AcpiTable for $name { in read() impl
281 const SIGNATURE: acpi::sdt::Signature = acpi::sdt::Signature::$name; in read()
282 fn header(&self) -> &acpi::sdt::SdtHeader { in read()
/DragonOS/kernel/src/init/
H A Dboot.rs3 use acpi::rsdp::Rsdp;
22 pub acpi: BootloaderAcpiArg, field
31 acpi: BootloaderAcpiArg::NotProvided,
163 boot_params.acpi = boot_callbacks() in boot_callback_except_early()
H A Dinit.rs8 acpi::acpi_init, base::init::driver_init, serial::serial_early_init,
/DragonOS/kernel/src/driver/
H A Dmod.rs1 pub mod acpi; module
/DragonOS/kernel/src/arch/x86_64/pci/
H A Dpci.rs3 use crate::driver::acpi::acpi_manager;
13 use acpi::mcfg::Mcfg;
/DragonOS/kernel/src/arch/x86_64/
H A Dmod.rs3 mod acpi; module
H A Dacpi.rs2 use crate::{driver::acpi::acpi_manager, mm::percpu::PerCpu, smp::cpu::ProcessorId};
/DragonOS/kernel/
H A DCargo.toml33 acpi = { git = "https://git.mirrors.dragonos.org.cn/DragonOS-Community/acpi-rs.git", rev = "282df2a…
/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dioapic.rs3 use acpi::madt::Madt;
11 driver::acpi::acpi_manager,
84 if let acpi::madt::MadtEntry::IoApic(_x) = x { in new()
90 if let acpi::madt::MadtEntry::IoApic(x) = x { in new()
/DragonOS/kernel/src/arch/x86_64/driver/
H A Dhpet.rs8 use acpi::HpetInfo;
16 acpi::acpi_manager,
H A Dtsc.rs3 driver::acpi::pmtmr::{acpi_pm_read_early, ACPI_PM_OVERRUN, PMTMR_TICKS_PER_SEC},
/DragonOS/kernel/src/driver/clocksource/
H A Dacpi_pm.rs4 driver::acpi::{
14 use acpi::fadt::Fadt;
/DragonOS/kernel/src/driver/input/serio/
H A Dsubsys.rs11 acpi::acpi_manager,
/DragonOS/kernel/src/driver/base/platform/
H A Dsubsys.rs13 acpi::acpi_manager,
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.9.md1286 把pci驱动的读取acpi mcfg的代码,调整为从新的acpi驱动来读取 (#413)
1288 * 把pci驱动的读取acpi mcfg的代码,调整为从新的acpi驱动来读取
1564 1. 启动时从acpi获取所有的cpu信息并存到SMP_BOOT_DATA
1579 - feature: 把acpi表、acpi bus加入sysfs
1789 ahci内存越界问题修复+ mm的bug修复+在rust中解析acpi table (#384)
1799 * 新增acpi模块,暂时能解析acpi tables
/DragonOS/kernel/src/arch/x86_64/smp/
H A Dmod.rs26 acpi::early_acpi_boot_init,
/DragonOS/kernel/src/arch/x86_64/init/
H A Dmultiboot2.rs3 use acpi::rsdp::Rsdp;
/DragonOS/kernel/src/driver/base/
H A Dcpu.rs9 driver::acpi::acpi_manager,
/DragonOS/kernel/src/driver/base/device/
H A Dmod.rs11 acpi::glue::acpi_device_notify,