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 / src / table / header.rs
| 1 | // SPDX-License-Identifier: MIT OR Apache-2.0 |
| 2 | |
| 3 | use super::Revision; |
| 4 | |
| 5 | /// All standard UEFI tables begin with a common header. |
| 6 | #[derive(Debug)] |
| 7 | #[repr(C)] |
| 8 | pub struct Header { |
| 9 | /// Unique identifier for this table. |
| 10 | pub signature: u64, |
| 11 | /// Revision of the spec this table conforms to. |
| 12 | pub revision: Revision, |
| 13 | /// The size in bytes of the entire table. |
| 14 | pub size: u32, |
| 15 | /// Standard CRC-32 checksum (ITU-T V.42, polynomial 0x04C11DB7) of the |
| 16 | /// entire table, calculated with this field set to 0. |
| 17 | pub crc: u32, |
| 18 | /// Reserved field that must be set to 0. |
| 19 | _reserved: u32, |
| 20 | } |