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 / table / configuration.rs
| 1 | // SPDX-License-Identifier: MIT OR Apache-2.0 |
| 2 | |
| 3 | //! UEFI configuration table |
| 4 | |
| 5 | use crate::Guid; |
| 6 | use core::ffi::c_void; |
| 7 | |
| 8 | /// UEFI configuration table. |
| 9 | /// |
| 10 | /// Each table is uniquely identified by a GUID. The type of data pointed to by |
| 11 | /// `vendor_table`, as well as whether that address is physical or virtual, |
| 12 | /// depends on the GUID. |
| 13 | #[derive(Debug, Eq, PartialEq)] |
| 14 | #[repr(C)] |
| 15 | #[expect(missing_docs)] |
| 16 | pub struct ConfigurationTable { |
| 17 | pub vendor_guid: Guid, |
| 18 | pub vendor_table: *mut c_void, |
| 19 | } |