Preliminary support for RV64G

This adds basic support for RISC-V, specifically RV64G.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Romain Dolbeau <romain.dolbeau@european-processor-initiative.eu>
Closes #9540
This commit is contained in:
Romain Dolbeau
2019-11-06 19:56:09 +01:00
committed by Brian Behlendorf
parent 27ece2ee4d
commit 4254e40729
6 changed files with 138 additions and 3 deletions
+1 -1
View File
@@ -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 */