mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
target/riscv: rework 'vext_spec'
The same rework did in 'priv_spec' is done for 'vext_spec'. This time is simpler, since we only accept one value ("v1.0") and we'll always have env->vext_ver set to VEXT_VERSION_1_00_0, thus we don't need helpers to convert string to 'vext_ver' back and forth like we needed for 'priv_spec'. Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Tested-by: Vladimir Isaev <vladimir.isaev@syntacore.com> Message-ID: <20240105230546.265053-8-dbarboza@ventanamicro.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
fefc294baa
commit
41f2b94ee0
4 changed files with 34 additions and 18 deletions
|
@ -106,6 +106,7 @@ enum {
|
|||
};
|
||||
|
||||
#define VEXT_VERSION_1_00_0 0x00010000
|
||||
#define VEXT_VER_1_00_0_STR "v1.0"
|
||||
|
||||
enum {
|
||||
TRANSLATE_SUCCESS,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue