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:
Mitchell Horne 2020-07-06 17:47:29 +00:00
parent 866a5d1298
commit 10aabc8b83
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=362972

View file

@ -104,6 +104,8 @@ typedef void VOID;
#define MDE_CPU_ARM
#elif defined(__aarch64__)
#define MDE_CPU_AARCH64
#elif defined(__riscv)
#define MDE_CPU_RISCV64
#endif
/* FreeBSD doesn't have/use MDE_CPU_EBC or MDE_CPU_IPF (ia64) */