mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 18:44:58 -06:00
target-ppc: add exceptions for conditional stores
Signed-off-by: Nathan Froyd <froydnj@codesourcery.com> Signed-off-by: malc <av1474@comtv.ru>
This commit is contained in:
parent
18b21a2f83
commit
4425265beb
2 changed files with 56 additions and 20 deletions
|
@ -218,6 +218,7 @@ enum {
|
|||
/* Qemu exceptions: special cases we want to stop translation */
|
||||
POWERPC_EXCP_SYNC = 0x202, /* context synchronizing instruction */
|
||||
POWERPC_EXCP_SYSCALL_USER = 0x203, /* System call in user mode only */
|
||||
POWERPC_EXCP_STCX = 0x204 /* Conditional stores in user mode */
|
||||
};
|
||||
|
||||
/* Exceptions error codes */
|
||||
|
@ -564,6 +565,10 @@ struct CPUPPCState {
|
|||
target_ulong reserve_addr;
|
||||
/* Reservation value */
|
||||
target_ulong reserve_val;
|
||||
/* Reservation store address */
|
||||
target_ulong reserve_ea;
|
||||
/* Reserved store source register and size */
|
||||
target_ulong reserve_info;
|
||||
|
||||
/* Those ones are used in supervisor mode only */
|
||||
/* machine state register */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue