mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
microblaze: At swx, check that the reserved word is unmodified
This improves the reservation check for system emulation, making it possible to catch stores that modify reserved word. Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
parent
4a53627045
commit
11a7621763
2 changed files with 17 additions and 0 deletions
|
@ -246,6 +246,7 @@ struct CPUMBState {
|
|||
/* lwx/swx reserved address */
|
||||
#define RES_ADDR_NONE 0xffffffff /* Use 0xffffffff to indicate no reservation */
|
||||
uint32_t res_addr;
|
||||
uint32_t res_val;
|
||||
|
||||
/* Internal flags. */
|
||||
#define IMM_FLAG 4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue