mirror of https://github.com/ncroxon/gnu-efi
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:
parent
9e7e6822b7
commit
860b1c8cbe
12
inc/efiapi.h
12
inc/efiapi.h
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue