diff options
author | Alistair Francis <alistair.francis@wdc.com> | 2020-01-31 17:01:41 -0800 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2020-02-27 13:45:24 -0800 |
commit | af1fa0039c799a350bcde07b3d8a71dfde07d11b (patch) | |
tree | ff37ad821b9db32b5c5519ab366cd955b6fc3887 | |
parent | 028616130d5f0abc8a3b96f28963da51a875024b (diff) | |
download | qemu-af1fa0039c799a350bcde07b3d8a71dfde07d11b.zip qemu-af1fa0039c799a350bcde07b3d8a71dfde07d11b.tar.gz qemu-af1fa0039c799a350bcde07b3d8a71dfde07d11b.tar.bz2 |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/riscv/cpu.h b/target/riscv/cpu.h index 95de9e5..010125e 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 |