interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / vendor / uefi-raw / src / table / header.rs

20 lines · 649 bytes Raw Blame History
1// SPDX-License-Identifier: MIT OR Apache-2.0
2
3use super::Revision;
4
5/// The common header that all UEFI tables begin with.
6#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, PartialOrd, Ord, Hash)]
7#[repr(C)]
8pub 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 /// 32-bit CRC of the entire table using polynomial `0x04c11db7`,
16 /// calculated with this field set to 0.
17 pub crc: u32,
18 /// Reserved field that must be set to 0.
19 pub reserved: u32,
20}