Hello Gabe Black, Tuan Ta, Robert Scheffel,
I'd like you to reexamine a change. Please visit
https://gem5-review.googlesource.com/7441
to look at the new patch set (#9).
Change subject: arch-riscv: Update CSR implementations
......................................................................
arch-riscv: Update CSR implementations
This patch updates the CSRs to match the RISC-V privileged specification
version 1.10. As interrupts, faults, and privilege levels are not yet
supported, there are no meaninful side effects that are implemented.
Performance counters are also not yet implemented, as they do not have
specifications. Currently they act as cycle counters.
Note that this implementation trusts software to use the registers
properly. Access protection, readability, and writeability of registers
based on privilege will come in a future patch.
Change-Id: I1de89bdbe369b5027911b2e6bc0425d3acaa708a
---
M src/arch/riscv/insts/standard.cc
M src/arch/riscv/isa.cc
M src/arch/riscv/isa.hh
M src/arch/riscv/isa/decoder.isa
M src/arch/riscv/isa/formats/standard.isa
M src/arch/riscv/isa/includes.isa
M src/arch/riscv/process.cc
M src/arch/riscv/registers.hh
M src/arch/riscv/remote_gdb.cc
9 files changed, 738 insertions(+), 425 deletions(-)
--
To view, visit https://gem5-review.googlesource.com/7441
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I1de89bdbe369b5027911b2e6bc0425d3acaa708a
Gerrit-Change-Number: 7441
Gerrit-PatchSet: 9
Gerrit-Owner: Alec Roelke <ar...@virginia.edu>
Gerrit-Reviewer: Alec Roelke <ar...@virginia.edu>
Gerrit-Reviewer: Gabe Black <gabebl...@google.com>
Gerrit-Reviewer: Robert Scheffel <robert.scheff...@tu-dresden.de>
Gerrit-Reviewer: Tuan Ta <q...@cornell.edu>
Gerrit-MessageType: newpatchset
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev