summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@wdc.com>2020-01-31 17:01:41 -0800
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-02-27 13:45:24 -0800
commitaf1fa0039c799a350bcde07b3d8a71dfde07d11b (patch)
treeff37ad821b9db32b5c5519ab366cd955b6fc3887
parent028616130d5f0abc8a3b96f28963da51a875024b (diff)
downloadfocaccia-qemu-af1fa0039c799a350bcde07b3d8a71dfde07d11b.tar.gz
focaccia-qemu-af1fa0039c799a350bcde07b3d8a71dfde07d11b.zip
target/riscv: Add the Hypervisor extension
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Chih-Min Chao <chihmin.chao@sifive.com>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
-rw-r--r--target/riscv/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/riscv/cpu.h b/target/riscv/cpu.h
index 95de9e58a2..010125efd6 100644
--- a/target/riscv/cpu.h
+++ b/target/riscv/cpu.h
@@ -67,6 +67,7 @@
 #define RVC RV('C')
 #define RVS RV('S')
 #define RVU RV('U')
+#define RVH RV('H')
 
 /* S extension denotes that Supervisor mode exists, however it is possible
    to have a core that support S mode but does not have an MMU and there