mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
Hexagon (target/hexagon) Make special new_value for USR
Precursor to moving new_value from the global state to DisasContext USR will need to stay in the global state because some helpers will set it's value Signed-off-by: Taylor Simpson <tsimpson@quicinc.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230427230012.3800327-17-tsimpson@quicinc.com>
This commit is contained in:
parent
00e64fda06
commit
6aa4f1d15c
8 changed files with 27 additions and 12 deletions
|
@ -46,7 +46,7 @@
|
|||
#define SET_USR_FIELD(FIELD, VAL) \
|
||||
do { \
|
||||
if (pkt_need_commit) { \
|
||||
fINSERT_BITS(env->new_value[HEX_REG_USR], \
|
||||
fINSERT_BITS(env->new_value_usr, \
|
||||
reg_field_info[FIELD].width, \
|
||||
reg_field_info[FIELD].offset, (VAL)); \
|
||||
} else { \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue