Browse Source

[dhcp] Fix definitions for x86_64 and EFI BC client architectures

There has been a longstanding disagreement between RFC4578 and the
IANA "Processor Architecture Types" registry.  RFC4578 section 2.1
defines type 7 as "EFI BC" and type 9 as "EFI x86-64"; the IANA
registry quotes RFC4578 as its source but has these values erroneously
swapped.  The EDK2 codebase uses the IANA values.

As of March 2016, RFC4578 has been modified by an errata to match the
values as recorded in the IANA registry.

Fix our definitions to match the consensus values.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 8 years ago
parent
commit
af9afd0a86
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      src/include/ipxe/dhcp.h

+ 4
- 4
src/include/ipxe/dhcp.h View File

266
 	DHCP_CLIENT_ARCHITECTURE_LC = 0x0005,
266
 	DHCP_CLIENT_ARCHITECTURE_LC = 0x0005,
267
 	/** EFI IA32 */
267
 	/** EFI IA32 */
268
 	DHCP_CLIENT_ARCHITECTURE_IA32 = 0x0006,
268
 	DHCP_CLIENT_ARCHITECTURE_IA32 = 0x0006,
269
-	/** EFI BC */
270
-	DHCP_CLIENT_ARCHITECTURE_EFI = 0x0007,
269
+	/** EFI x86-64 */
270
+	DHCP_CLIENT_ARCHITECTURE_X86_64 = 0x0007,
271
 	/** EFI Xscale */
271
 	/** EFI Xscale */
272
 	DHCP_CLIENT_ARCHITECTURE_XSCALE = 0x0008,
272
 	DHCP_CLIENT_ARCHITECTURE_XSCALE = 0x0008,
273
-	/** EFI x86-64 */
274
-	DHCP_CLIENT_ARCHITECTURE_X86_64 = 0x0009,
273
+	/** EFI BC */
274
+	DHCP_CLIENT_ARCHITECTURE_EFI = 0x0009,
275
 	/** EFI 32-bit ARM */
275
 	/** EFI 32-bit ARM */
276
 	DHCP_CLIENT_ARCHITECTURE_ARM32 = 0x000a,
276
 	DHCP_CLIENT_ARCHITECTURE_ARM32 = 0x000a,
277
 	/** EFI 64-bit ARM */
277
 	/** EFI 64-bit ARM */

Loading…
Cancel
Save