
30 Nov
2018
30 Nov
'18
10:48 a.m.
Hi Lukas,
On Thu, Nov 15, 2018 at 6:26 AM Auer, Lukas lukas.auer@aisec.fraunhofer.de wrote:
Hi Bin,
On Tue, 2018-11-13 at 00:21 -0800, Bin Meng wrote:
The standard RISC-V ISA sets aside a 12-bit encoding space for up to 4096 CSRs. This adds all known CSR numbers as defined in the RISC-V Privileged Architecture Version 1.10.
Signed-off-by: Bin Meng bmeng.cn@gmail.com
arch/riscv/include/asm/encoding.h | 219 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 219 insertions(+)
What is the reason for adding these and also the exception code definitions in the next patch?
These are needed for the SBI and CSR instruction emulation.
Regards, Bin