libefivar: define MDE_CPU_RISCV64
The necessary definitions from EDK2 are present, so this allows the library to be built on RISC-V.
This commit is contained in:
parent
866a5d1298
commit
10aabc8b83
@ -104,6 +104,8 @@ typedef void VOID;
|
|||||||
#define MDE_CPU_ARM
|
#define MDE_CPU_ARM
|
||||||
#elif defined(__aarch64__)
|
#elif defined(__aarch64__)
|
||||||
#define MDE_CPU_AARCH64
|
#define MDE_CPU_AARCH64
|
||||||
|
#elif defined(__riscv)
|
||||||
|
#define MDE_CPU_RISCV64
|
||||||
#endif
|
#endif
|
||||||
/* FreeBSD doesn't have/use MDE_CPU_EBC or MDE_CPU_IPF (ia64) */
|
/* FreeBSD doesn't have/use MDE_CPU_EBC or MDE_CPU_IPF (ia64) */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user