/DragonOS/kernel/src/driver/acpi/ |
H A D | mod.rs | 3 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 D | sysfs.rs | 3 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 D | boot.rs | 3 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 D | init.rs | 8 acpi::acpi_init, base::init::driver_init, serial::serial_early_init,
|
/DragonOS/kernel/src/driver/ |
H A D | mod.rs | 1 pub mod acpi; module
|
/DragonOS/kernel/src/arch/x86_64/pci/ |
H A D | pci.rs | 3 use crate::driver::acpi::acpi_manager; 13 use acpi::mcfg::Mcfg;
|
/DragonOS/kernel/src/arch/x86_64/ |
H A D | mod.rs | 3 mod acpi; module
|
H A D | acpi.rs | 2 use crate::{driver::acpi::acpi_manager, mm::percpu::PerCpu, smp::cpu::ProcessorId};
|
/DragonOS/kernel/ |
H A D | Cargo.toml | 33 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 D | ioapic.rs | 3 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 D | hpet.rs | 8 use acpi::HpetInfo; 16 acpi::acpi_manager,
|
H A D | tsc.rs | 3 driver::acpi::pmtmr::{acpi_pm_read_early, ACPI_PM_OVERRUN, PMTMR_TICKS_PER_SEC},
|
/DragonOS/kernel/src/driver/clocksource/ |
H A D | acpi_pm.rs | 4 driver::acpi::{ 14 use acpi::fadt::Fadt;
|
/DragonOS/kernel/src/driver/input/serio/ |
H A D | subsys.rs | 11 acpi::acpi_manager,
|
/DragonOS/kernel/src/driver/base/platform/ |
H A D | subsys.rs | 13 acpi::acpi_manager,
|
/DragonOS/docs/community/ChangeLog/V0.1.x/ |
H A D | V0.1.9.md | 1286 把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 D | mod.rs | 26 acpi::early_acpi_boot_init,
|
/DragonOS/kernel/src/arch/x86_64/init/ |
H A D | multiboot2.rs | 3 use acpi::rsdp::Rsdp;
|
/DragonOS/kernel/src/driver/base/ |
H A D | cpu.rs | 9 driver::acpi::acpi_manager,
|
/DragonOS/kernel/src/driver/base/device/ |
H A D | mod.rs | 11 acpi::glue::acpi_device_notify,
|