forked from AbleOS/ableos
20 lines
356 B
Rust
20 lines
356 B
Rust
use acpi::AcpiTables;
|
|
|
|
use crate::{kmain::AcpiStruct, rhai_shell::rhai_shell};
|
|
|
|
/// Experimental scratchpad for testing.
|
|
pub fn scratchpad() {
|
|
pci_fun();
|
|
rhai_shell();
|
|
}
|
|
|
|
pub fn pci_fun() {}
|
|
|
|
pub fn acpi() {
|
|
let acpi_handler = AcpiStruct {};
|
|
let _table;
|
|
unsafe {
|
|
_table = AcpiTables::search_for_rsdp_bios(acpi_handler);
|
|
}
|
|
}
|