mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 18:44:58 -06:00
target/riscv: rvb: add b-ext version cpu option
Default b-ext version is v0.93. Signed-off-by: Frank Chang <frank.chang@sifive.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20210505160620.15723-18-frank.chang@sifive.com Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
d52e94081e
commit
d2c1a177b1
2 changed files with 26 additions and 0 deletions
|
@ -83,6 +83,7 @@ enum {
|
|||
#define PRIV_VERSION_1_10_0 0x00011000
|
||||
#define PRIV_VERSION_1_11_0 0x00011100
|
||||
|
||||
#define BEXT_VERSION_0_93_0 0x00009300
|
||||
#define VEXT_VERSION_0_07_1 0x00000701
|
||||
|
||||
enum {
|
||||
|
@ -132,6 +133,7 @@ struct CPURISCVState {
|
|||
target_ulong guest_phys_fault_addr;
|
||||
|
||||
target_ulong priv_ver;
|
||||
target_ulong bext_ver;
|
||||
target_ulong vext_ver;
|
||||
target_ulong misa;
|
||||
target_ulong misa_mask;
|
||||
|
@ -297,6 +299,7 @@ struct RISCVCPU {
|
|||
|
||||
char *priv_spec;
|
||||
char *user_spec;
|
||||
char *bext_spec;
|
||||
char *vext_spec;
|
||||
uint16_t vlen;
|
||||
uint16_t elen;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue