svn commit: r362972 - head/lib/libefivar
Mitchell Horne
mhorne at FreeBSD.org
Mon Jul 6 17:47:30 UTC 2020
Author: mhorne
Date: Mon Jul 6 17:47:29 2020
New Revision: 362972
URL: https://svnweb.freebsd.org/changeset/base/362972
Log:
libefivar: define MDE_CPU_RISCV64
The necessary definitions from EDK2 are present, so this allows the
library to be built on RISC-V.
Modified:
head/lib/libefivar/efi-osdep.h
Modified: head/lib/libefivar/efi-osdep.h
==============================================================================
--- head/lib/libefivar/efi-osdep.h Mon Jul 6 16:34:49 2020 (r362971)
+++ head/lib/libefivar/efi-osdep.h Mon Jul 6 17:47:29 2020 (r362972)
@@ -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) */
More information about the svn-src-head
mailing list