Searched refs:virtualized_csr_t (Results 1 – 3 of 3) sorted by relevance
/dports/emulators/riscv-isa-sim/riscv-isa-sim-4f12984/riscv/ |
H A D | csrs.cc | 234 virtualized_csr_t::virtualized_csr_t(processor_t* const proc, csr_t_p orig, csr_t_p virt): in virtualized_csr_t() function in virtualized_csr_t 241 reg_t virtualized_csr_t::read() const noexcept { in read() 245 reg_t virtualized_csr_t::readvirt(bool virt) const noexcept { in readvirt() 249 bool virtualized_csr_t::unlogged_write(const reg_t val) noexcept { in unlogged_write() 470 virtualized_csr_t(proc, orig, virt), in sstatus_csr_t() 809 virtualized_csr_t(proc, orig, virt), in virtualized_satp_csr_t() 814 virtualized_csr_t::verify_permissions(insn, write); in verify_permissions() 830 return virtualized_csr_t::unlogged_write(newval); in unlogged_write()
|
H A D | csrs.h | 129 class virtualized_csr_t: public csr_t { 131 virtualized_csr_t(processor_t* const proc, csr_t_p orig, csr_t_p virt); 142 typedef std::shared_ptr<virtualized_csr_t> virtualized_csr_t_p; 250 class sstatus_csr_t: public virtualized_csr_t { 427 class virtualized_satp_csr_t: public virtualized_csr_t {
|
H A D | processor.cc | 430 csrmap[CSR_SIP] = std::make_shared<virtualized_csr_t>(proc, nonvirtual_sip, vsip); in reset() 437 csrmap[CSR_SIE] = std::make_shared<virtualized_csr_t>(proc, nonvirtual_sie, vsie); in reset() 448 csrmap[CSR_SEPC] = sepc = std::make_shared<virtualized_csr_t>(proc, nonvirtual_sepc, vsepc); in reset() 451 csrmap[CSR_STVAL] = stval = std::make_shared<virtualized_csr_t>(proc, nonvirtual_stval, vstval); in reset() 455 csrmap[CSR_SSCRATCH] = std::make_shared<virtualized_csr_t>(proc, sscratch, vsscratch); in reset() 459 csrmap[CSR_STVEC] = stvec = std::make_shared<virtualized_csr_t>(proc, nonvirtual_stvec, vstvec); in reset() 465 …csrmap[CSR_SCAUSE] = scause = std::make_shared<virtualized_csr_t>(proc, nonvirtual_scause, vscause… in reset()
|