summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNigel Croxon <ncroxon@redhat.com>2021-06-23 09:37:54 -0400
committerNigel Croxon <ncroxon@redhat.com>2021-06-23 09:37:54 -0400
commit860b1c8cbe53e22072f68cc2311ee6adb7d2d27f (patch)
tree6089ea46596e8aaad91302926eee275864dcb0b3
parent9e7e6822b7d5a47081691a04b4fd550a8349d8a5 (diff)
downloadgnu-efi-860b1c8cbe53e22072f68cc2311ee6adb7d2d27f.tar.gz
efiapi.h: add RISC-V machine type definitions
These values are from the UEFI specification version 2.9. Signed-off-by: David Michael <fedora.dm0@...> Signed-off-by: Nigel Croxon <ncroxon@redhat.com>
-rw-r--r--inc/efiapi.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/inc/efiapi.h b/inc/efiapi.h
index bdf5de2..5ab5755 100644
--- a/inc/efiapi.h
+++ b/inc/efiapi.h
@@ -342,6 +342,18 @@ EFI_STATUS
#define EFI_IMAGE_MACHINE_AARCH64 0xAA64
#endif
+#if !defined(EFI_IMAGE_MACHINE_RISCV32)
+#define EFI_IMAGE_MACHINE_RISCV32 0x5032
+#endif
+
+#if !defined(EFI_IMAGE_MACHINE_RISCV64)
+#define EFI_IMAGE_MACHINE_RISCV64 0x5064
+#endif
+
+#if !defined(EFI_IMAGE_MACHINE_RISCV128)
+#define EFI_IMAGE_MACHINE_RISCV128 0x5128
+#endif
+
// Image Entry prototype
typedef