Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jul 2020 17:47:29 +0000 (UTC)
From:      Mitchell Horne <mhorne@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r362972 - head/lib/libefivar
Message-ID:  <202007061747.066HlTT8031632@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) */
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007061747.066HlTT8031632>