Re: [RFC PATCH v4 0/4] Add basic support for custom CSR

2021-08-12 Thread Alistair Francis
On Fri, Aug 6, 2021 at 3:59 AM Ruinland Chuan-Tzu Tsai wrote: > > From: Ruinland ChuanTzu Tsai > > Dear all, > > In this patch, the implementation of custom CSR handling logic is introduced. > > If --enable-riscv-custom is set during configuration, custom CSR logic will be > turned on. During CPU

[RFC PATCH v4 0/4] Add basic support for custom CSR

2021-08-05 Thread Ruinland Chuan-Tzu Tsai
From: Ruinland ChuanTzu Tsai Dear all, In this patch, the implementation of custom CSR handling logic is introduced. If --enable-riscv-custom is set during configuration, custom CSR logic will be turned on. During CPU model initialization, setup_custom_csr() is invoked to register vendor-provid