Преглед на файлове

[arm] Use correct DHCP client architecture values

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown преди 8 години
родител
ревизия
31d4a7b8db
променени са 3 файла, в които са добавени 6 реда и са изтрити 2 реда
  1. 1
    1
      src/arch/arm32/include/efi/ipxe/dhcp_arch.h
  2. 1
    1
      src/arch/arm64/include/efi/ipxe/dhcp_arch.h
  3. 4
    0
      src/include/ipxe/dhcp.h

+ 1
- 1
src/arch/arm32/include/efi/ipxe/dhcp_arch.h Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 */

Loading…
Отказ
Запис