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>
This commit is contained in:
Nigel Croxon 2021-06-23 09:37:54 -04:00
parent 9e7e6822b7
commit 860b1c8cbe
1 changed files with 12 additions and 0 deletions

View File

@ -342,6 +342,18 @@ EFI_STATUS
#define EFI_IMAGE_MACHINE_AARCH64 0xAA64 #define EFI_IMAGE_MACHINE_AARCH64 0xAA64
#endif #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 // Image Entry prototype
typedef typedef