Procházet zdrojové kódy

[arm] Use correct DHCP client architecture values

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown před 8 roky
rodič
revize
31d4a7b8db

+ 1
- 1
src/arch/arm32/include/efi/ipxe/dhcp_arch.h Zobrazit soubor

@@ -39,7 +39,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
39 39
 		      'U', 'N', 'D', 'I', ':', '0', '0', '3', '0', '1', '0' )
40 40
 
41 41
 #define DHCP_ARCH_CLIENT_ARCHITECTURE \
42
-	DHCP_WORD ( DHCP_CLIENT_ARCHITECTURE_EFI )
42
+	DHCP_WORD ( DHCP_CLIENT_ARCHITECTURE_ARM32 )
43 43
 
44 44
 #define DHCP_ARCH_CLIENT_NDI DHCP_OPTION ( 1 /* UNDI */ , 3, 10 /* v3.10 */ )
45 45
 

+ 1
- 1
src/arch/arm64/include/efi/ipxe/dhcp_arch.h Zobrazit soubor

@@ -39,7 +39,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
39 39
 		      'U', 'N', 'D', 'I', ':', '0', '0', '3', '0', '1', '0' )
40 40
 
41 41
 #define DHCP_ARCH_CLIENT_ARCHITECTURE \
42
-	DHCP_WORD ( DHCP_CLIENT_ARCHITECTURE_EFI )
42
+	DHCP_WORD ( DHCP_CLIENT_ARCHITECTURE_ARM64 )
43 43
 
44 44
 #define DHCP_ARCH_CLIENT_NDI DHCP_OPTION ( 1 /* UNDI */ , 3, 10 /* v3.10 */ )
45 45
 

+ 4
- 0
src/include/ipxe/dhcp.h Zobrazit soubor

@@ -272,6 +272,10 @@ enum dhcp_client_architecture_values {
272 272
 	DHCP_CLIENT_ARCHITECTURE_XSCALE = 0x0008,
273 273
 	/** EFI x86-64 */
274 274
 	DHCP_CLIENT_ARCHITECTURE_X86_64 = 0x0009,
275
+	/** EFI 32-bit ARM */
276
+	DHCP_CLIENT_ARCHITECTURE_ARM32 = 0x000a,
277
+	/** EFI 64-bit ARM */
278
+	DHCP_CLIENT_ARCHITECTURE_ARM64 = 0x000b,
275 279
 };
276 280
 
277 281
 /** Client network device interface */

Načítá se…
Zrušit
Uložit