[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 19/23] RISC-V: riscv-qemu port supports sv39 and
From: |
Michael Clark |
Subject: |
[Qemu-devel] [PATCH v2 19/23] RISC-V: riscv-qemu port supports sv39 and sv48 |
Date: |
Fri, 9 Mar 2018 17:12:41 +1300 |
Cc: Sagar Karandikar <address@hidden>
Cc: Bastian Koppelmann <address@hidden>
Signed-off-by: Michael Clark <address@hidden>
Signed-off-by: Palmer Dabbelt <address@hidden>
---
target/riscv/cpu.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/riscv/cpu.h b/target/riscv/cpu.h
index 7c4482b..f47fc9c 100644
--- a/target/riscv/cpu.h
+++ b/target/riscv/cpu.h
@@ -24,8 +24,8 @@
#define TARGET_PAGE_BITS 12 /* 4 KiB Pages */
#if defined(TARGET_RISCV64)
#define TARGET_LONG_BITS 64
-#define TARGET_PHYS_ADDR_SPACE_BITS 50
-#define TARGET_VIRT_ADDR_SPACE_BITS 39
+#define TARGET_PHYS_ADDR_SPACE_BITS 52
+#define TARGET_VIRT_ADDR_SPACE_BITS 48
#elif defined(TARGET_RISCV32)
#define TARGET_LONG_BITS 32
#define TARGET_PHYS_ADDR_SPACE_BITS 34
--
2.7.0
- [Qemu-devel] [PATCH v2 14/23] RISC-V: Make virt header comment title consistent, (continued)
- [Qemu-devel] [PATCH v2 14/23] RISC-V: Make virt header comment title consistent, Michael Clark, 2018/03/08
- [Qemu-devel] [PATCH v2 13/23] RISC-V: Make some header guards more specific, Michael Clark, 2018/03/08
- [Qemu-devel] [PATCH v2 16/23] RISC-V: Remove EM_RISCV ELF_MACHINE indirection, Michael Clark, 2018/03/08
- [Qemu-devel] [PATCH v2 15/23] RISC-V: Use memory_region_is_ram in pte update, Michael Clark, 2018/03/08
- [Qemu-devel] [PATCH v2 17/23] RISC-V: Hardwire satp to 0 for no-mmu case, Michael Clark, 2018/03/08
- [Qemu-devel] [PATCH v2 18/23] RISC-V: Remove braces from satp case statement, Michael Clark, 2018/03/08
- [Qemu-devel] [PATCH v2 19/23] RISC-V: riscv-qemu port supports sv39 and sv48,
Michael Clark <=
- [Qemu-devel] [PATCH v2 20/23] RISC-V: vectored traps are optional, Michael Clark, 2018/03/08
- [Qemu-devel] [PATCH v2 21/23] RISC-V: No traps on writes to misa, minstret, mcycle, Michael Clark, 2018/03/08
- [Qemu-devel] [PATCH v2 22/23] RISC-V: Remove support for adhoc X_COP interrupt, Michael Clark, 2018/03/08
- [Qemu-devel] [PATCH v2 23/23] RISC-V: Convert cpu definition towards future model, Michael Clark, 2018/03/08
- Re: [Qemu-devel] [PATCH v2 00/23] RISC-V Post-merge spec conformance and cleanup, no-reply, 2018/03/12