summaryrefslogtreecommitdiffstats
path: root/src/util/efirom.c
diff options
context:
space:
mode:
authorMichael Brown2015-10-19 21:01:19 +0200
committerMichael Brown2016-05-06 13:08:44 +0200
commit1a16f67a28c6e8b9875b07e15c7c379cfc147e69 (patch)
tree4f58c91b43ca8862d8219026c70e89717a514b89 /src/util/efirom.c
parent[bitops] Fix typo in test case (diff)
downloadipxe-1a16f67a28c6e8b9875b07e15c7c379cfc147e69.tar.gz
ipxe-1a16f67a28c6e8b9875b07e15c7c379cfc147e69.tar.xz
ipxe-1a16f67a28c6e8b9875b07e15c7c379cfc147e69.zip
[arm] Add support for 32-bit ARM
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/util/efirom.c')
-rw-r--r--src/util/efirom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/efirom.c b/src/util/efirom.c
index a982c19a..72829cbd 100644
--- a/src/util/efirom.c
+++ b/src/util/efirom.c
@@ -81,6 +81,7 @@ static void read_pe_info ( void *pe, uint16_t *machine,
*machine = nt->nt32.FileHeader.Machine;
switch ( *machine ) {
case EFI_IMAGE_MACHINE_IA32:
+ case EFI_IMAGE_MACHINE_ARMTHUMB_MIXED:
*subsystem = nt->nt32.OptionalHeader.Subsystem;
break;
case EFI_IMAGE_MACHINE_X64: