@@ -26,54 +26,25 @@ pub struct ConfigTableEntry {
2626 /// Whether this is a physical or virtual address depends on the table.
2727 pub address : * const c_void ,
2828}
29-
3029/// Entry pointing to the old ACPI 1 RSDP.
31- pub const ACPI_GUID : Guid = Guid :: from_values (
32- 0xeb9d2d30 ,
33- 0x2d88 ,
34- 0x11d3 ,
35- 0x9a16 ,
36- [ 0x00 , 0x90 , 0x27 , 0x3f , 0xc1 , 0x4d ] ,
37- ) ;
30+ pub const ACPI_GUID : Guid = Guid :: from_values ( 0xeb9d2d30 , 0x2d88 , 0x11d3 , 0x9a16 , 0x0090273fc14d ) ;
3831
3932///Entry pointing to the ACPI 2 RSDP.
40- pub const ACPI2_GUID : Guid = Guid :: from_values (
41- 0x8868e871 ,
42- 0xe4f1 ,
43- 0x11d3 ,
44- 0xbc22 ,
45- [ 0x00 , 0x80 , 0xc7 , 0x3c , 0x88 , 0x81 ] ,
46- ) ;
33+ pub const ACPI2_GUID : Guid = Guid :: from_values ( 0x8868e871 , 0xe4f1 , 0x11d3 , 0xbc22 , 0x0080c73c8881 ) ;
4734
4835/// Entry pointing to the SMBIOS 1.0 table.
49- pub const SMBIOS_GUID : Guid = Guid :: from_values (
50- 0xeb9d2d31 ,
51- 0x2d88 ,
52- 0x11d3 ,
53- 0x9a16 ,
54- [ 0x00 , 0x90 , 0x27 , 0x3f , 0xc1 , 0x4d ] ,
55- ) ;
36+ pub const SMBIOS_GUID : Guid = Guid :: from_values ( 0xeb9d2d31 , 0x2d88 , 0x11d3 , 0x9a16 , 0x0090273fc14d ) ;
5637
5738/// Entry pointing to the SMBIOS 3.0 table.
58- pub const SMBIOS3_GUID : Guid = Guid :: from_values (
59- 0xf2fd1544 ,
60- 0x9794 ,
61- 0x4a2c ,
62- 0x992e ,
63- [ 0xe5 , 0xbb , 0xcf , 0x20 , 0xe3 , 0x94 ] ,
64- ) ;
39+ pub const SMBIOS3_GUID : Guid =
40+ Guid :: from_values ( 0xf2fd1544 , 0x9794 , 0x4a2c , 0x992e , 0xe5bbcf20e394 ) ;
6541
6642/// GUID of the UEFI properties table.
6743///
6844/// The properties table is used to provide additional info
6945/// about the UEFI implementation.
70- pub const PROPERTIES_TABLE_GUID : Guid = Guid :: from_values (
71- 0x880aaca3 ,
72- 0x4adc ,
73- 0x4a04 ,
74- 0x9079 ,
75- [ 0xb7 , 0x47 , 0x34 , 0x08 , 0x25 , 0xe5 ] ,
76- ) ;
46+ pub const PROPERTIES_TABLE_GUID : Guid =
47+ Guid :: from_values ( 0x880aaca3 , 0x4adc , 0x4a04 , 0x9079 , 0xb747340825e5 ) ;
7748
7849/// This table contains additional information about the UEFI implementation.
7950#[ repr( C ) ]
@@ -102,65 +73,30 @@ bitflags! {
10273/// Hand-off Blocks are used to pass data from the early pre-UEFI environment to the UEFI drivers.
10374///
10475/// Most OS loaders or applications should not mess with this.
105- pub const HAND_OFF_BLOCK_LIST_GUID : Guid = Guid :: from_values (
106- 0x7739f24c ,
107- 0x93d7 ,
108- 0x11d4 ,
109- 0x9a3a ,
110- [ 0x00 , 0x90 , 0x27 , 0x3f , 0xc1 , 0x4d ] ,
111- ) ;
76+ pub const HAND_OFF_BLOCK_LIST_GUID : Guid =
77+ Guid :: from_values ( 0x7739f24c , 0x93d7 , 0x11d4 , 0x9a3a , 0x0090273fc14d ) ;
11278
11379/// Table used in the early boot environment to record memory ranges.
114- pub const MEMORY_TYPE_INFORMATION_GUID : Guid = Guid :: from_values (
115- 0x4c19049f ,
116- 0x4137 ,
117- 0x4dd3 ,
118- 0x9c10 ,
119- [ 0x8b , 0x97 , 0xa8 , 0x3f , 0xfd , 0xfa ] ,
120- ) ;
80+ pub const MEMORY_TYPE_INFORMATION_GUID : Guid =
81+ Guid :: from_values ( 0x4c19049f , 0x4137 , 0x4dd3 , 0x9c10 , 0x8b97a83ffdfa ) ;
12182
12283/// Used to identify Hand-off Blocks which store
12384/// status codes reported during the pre-UEFI environment.
124- pub const MEMORY_STATUS_CODE_RECORD_GUID : Guid = Guid :: from_values (
125- 0x60cc026 ,
126- 0x4c0d ,
127- 0x4dda ,
128- 0x8f41 ,
129- [ 0x59 , 0x5f , 0xef , 0x00 , 0xa5 , 0x02 ] ,
130- ) ;
85+ pub const MEMORY_STATUS_CODE_RECORD_GUID : Guid =
86+ Guid :: from_values ( 0x60cc026 , 0x4c0d , 0x4dda , 0x8f41 , 0x595fef00a502 ) ;
13187
13288/// Table which provides Driver eXecution Environment services.
133- pub const DXE_SERVICES_GUID : Guid = Guid :: from_values (
134- 0x5ad34ba ,
135- 0x6f02 ,
136- 0x4214 ,
137- 0x952e ,
138- [ 0x4d , 0xa0 , 0x39 , 0x8e , 0x2b , 0xb9 ] ,
139- ) ;
89+ pub const DXE_SERVICES_GUID : Guid =
90+ Guid :: from_values ( 0x5ad34ba , 0x6f02 , 0x4214 , 0x952e , 0x4da0398e2bb9 ) ;
14091
14192/// LZMA-compressed filesystem.
142- pub const LZMA_COMPRESS_GUID : Guid = Guid :: from_values (
143- 0xee4e5898 ,
144- 0x3914 ,
145- 0x4259 ,
146- 0x9d6e ,
147- [ 0xdc , 0x7b , 0xd7 , 0x94 , 0x03 , 0xcf ] ,
148- ) ;
93+ pub const LZMA_COMPRESS_GUID : Guid =
94+ Guid :: from_values ( 0xee4e5898 , 0x3914 , 0x4259 , 0x9d6e , 0xdc7bd79403cf ) ;
14995
15096/// A custom compressed filesystem used by the Tiano UEFI implementation.
151- pub const TIANO_COMPRESS_GUID : Guid = Guid :: from_values (
152- 0xa31280ad ,
153- 0x481e ,
154- 0x41b6 ,
155- 0x95e8 ,
156- [ 0x12 , 0x7f , 0x4c , 0x98 , 0x47 , 0x79 ] ,
157- ) ;
97+ pub const TIANO_COMPRESS_GUID : Guid =
98+ Guid :: from_values ( 0xa31280ad , 0x481e , 0x41b6 , 0x95e8 , 0x127f4c984779 ) ;
15899
159100/// Pointer to the debug image info table.
160- pub const DEBUG_IMAGE_INFO_GUID : Guid = Guid :: from_values (
161- 0x49152e77 ,
162- 0x1ada ,
163- 0x4764 ,
164- 0xb7a2 ,
165- [ 0x7a , 0xfe , 0xfe , 0xd9 , 0x5e , 0x8b ] ,
166- ) ;
101+ pub const DEBUG_IMAGE_INFO_GUID : Guid =
102+ Guid :: from_values ( 0x49152e77 , 0x1ada , 0x4764 , 0xb7a2 , 0x7afefed95e8b ) ;
0 commit comments