On 6/10/21 7:44 AM, Ruinland Chuan-Tzu Tsai wrote:
--- /dev/null +++ b/target/riscv/andes_cpu_bits.h @@ -0,0 +1,113 @@ +/* ========= AndeStar V5 machine mode CSRs ========= */
--- /dev/null +++ b/target/riscv/csr_andes.inc.c @@ -0,0 +1,153 @@ +/* Andes Custom Registers */
--- /dev/null +++ b/target/riscv/custom_cpu_bits.h @@ -0,0 +1,3 @@ +//XXX Maybe we should introduce a configure option to toggle different vendor +// CSR bits definition ? +#include "andes_cpu_bits.h"
All new files must have copyright+license boilerplate. r~
