aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libefi
diff options
context:
space:
mode:
authorRomain Dolbeau <[email protected]>2019-11-06 19:56:09 +0100
committerBrian Behlendorf <[email protected]>2019-11-06 10:56:09 -0800
commit4254e407294b211f3399da2ee131b45fe9f4ac80 (patch)
tree84343b4bccb01e4d15fb090c4e69dc4a0fcfddf5 /lib/libefi
parent27ece2ee4d9a3e814edfc6ff7cbbc56537d94b59 (diff)
Preliminary support for RV64G
This adds basic support for RISC-V, specifically RV64G. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Romain Dolbeau <[email protected]> Closes #9540
Diffstat (limited to 'lib/libefi')
-rw-r--r--lib/libefi/rdwr_efi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libefi/rdwr_efi.c b/lib/libefi/rdwr_efi.c
index 5311059ee..68038b911 100644
--- a/lib/libefi/rdwr_efi.c
+++ b/lib/libefi/rdwr_efi.c
@@ -156,7 +156,7 @@ struct dk_map2 default_vtoc_map[NDKMAP] = {
#if defined(i386) || defined(__amd64) || defined(__arm) || \
defined(__powerpc) || defined(__sparc) || defined(__s390__) || \
- defined(__mips__)
+ defined(__mips__) || defined(__rv64g__)
{ V_BOOT, V_UNMNT }, /* i - 8 */
{ V_ALTSCTR, 0 }, /* j - 9 */