AMOs should always return store faults, not load faults
authorAndrew Waterman <andrew@sifive.com>
Thu, 10 Nov 2016 21:40:37 +0000 (13:40 -0800)
committerAndrew Waterman <andrew@sifive.com>
Thu, 10 Nov 2016 21:40:37 +0000 (13:40 -0800)
commitbf8d2b71bb76b03b9a4db36fe6928c29a41a43e7
tree7511583efc9104a4309a9238ea6ed0aa60c19cd7
parentecff67fb34d50cc80822301f4de986be96da971c
AMOs should always return store faults, not load faults

This commit also factors out the common AMO code into mmu_t.
19 files changed:
riscv/insns/amoadd_d.h
riscv/insns/amoadd_w.h
riscv/insns/amoand_d.h
riscv/insns/amoand_w.h
riscv/insns/amomax_d.h
riscv/insns/amomax_w.h
riscv/insns/amomaxu_d.h
riscv/insns/amomaxu_w.h
riscv/insns/amomin_d.h
riscv/insns/amomin_w.h
riscv/insns/amominu_d.h
riscv/insns/amominu_w.h
riscv/insns/amoor_d.h
riscv/insns/amoor_w.h
riscv/insns/amoswap_d.h
riscv/insns/amoswap_w.h
riscv/insns/amoxor_d.h
riscv/insns/amoxor_w.h
riscv/mmu.h