diff options
author | wxjstz <wxjstz@126.com> | 2017-06-06 16:50:46 +0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-09-26 16:50:36 +0000 |
commit | d277960eb8f7c8ed068f1823049c701e00ea8e46 (patch) | |
tree | 28a5998c5749e9c40f59d66ab31761be0067f6ef /src/lib | |
parent | a57cc2ffb2244c6c93b2e33de4168f12fc8faf29 (diff) | |
download | coreboot-d277960eb8f7c8ed068f1823049c701e00ea8e46.tar.xz |
riscv: Update register address
I triggered a bug, when I try to debug riscv code by spike.
This bug is caused by an instruction exception[csrwi 0x320,7].
This is operate for mcounteren. This address is error. 0x306
is right. scounteren is not need to be set, because S-mode
code controls it.
Change-Id: If0bea4bf52d8ad2fb2598724d6feb59dc1b3084a
Signed-off-by: wxjstz<wxjstz@126.com>
Reviewed-on: https://review.coreboot.org/20043
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Diffstat (limited to 'src/lib')
0 files changed, 0 insertions, 0 deletions