1 | use super::Revision; |
2 | |
3 | /// All standard UEFI tables begin with a common header. |
4 | #[derive (Debug)] |
5 | #[repr (C)] |
6 | pub struct Header { |
7 | /// Unique identifier for this table. |
8 | pub signature: u64, |
9 | /// Revision of the spec this table conforms to. |
10 | pub revision: Revision, |
11 | /// The size in bytes of the entire table. |
12 | pub size: u32, |
13 | /// 32-bit CRC-32-Castagnoli of the entire table, |
14 | /// calculated with this field set to 0. |
15 | pub crc: u32, |
16 | /// Reserved field that must be set to 0. |
17 | _reserved: u32, |
18 | } |
19 | |