aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
aienux / vendor / uefi-raw / src / protocol / acpi.rs
| 1 | // SPDX-License-Identifier: MIT OR Apache-2.0 |
| 2 | |
| 3 | use crate::{Guid, Status, guid}; |
| 4 | use core::ffi::c_void; |
| 5 | |
| 6 | #[derive(Clone, Copy, Debug)] |
| 7 | #[repr(C)] |
| 8 | pub struct AcpiTableProtocol { |
| 9 | pub install_acpi_table: unsafe extern "efiapi" fn( |
| 10 | this: *const Self, |
| 11 | acpi_table_buffer: *const c_void, |
| 12 | acpi_table_size: usize, |
| 13 | table_key: *mut usize, |
| 14 | ) -> Status, |
| 15 | pub uninstall_acpi_table: |
| 16 | unsafe extern "efiapi" fn(this: *const Self, table_key: usize) -> Status, |
| 17 | } |
| 18 | |
| 19 | impl AcpiTableProtocol { |
| 20 | pub const GUID: Guid = guid!("ffe06bdd-6107-46a6-7bb2-5a9c7ec5275c"); |
| 21 | } |