PPC core fix by Tantric
This commit is contained in:
parent
2eecb6d983
commit
9fe6d69a2e
|
@ -156,7 +156,7 @@ static INSN_REGPARM void thumbBreakpoint(u32 opcode)
|
|||
{\
|
||||
register int Flags; \
|
||||
register int Result; \
|
||||
asm volatile("mtspr xer, %4\n" \
|
||||
asm volatile("mtspr 1, %4\n" \ /* reg 1 is xer */
|
||||
"addeo. %0, %2, %3\n" \
|
||||
"mcrxr cr1\n" \
|
||||
"mfcr %1\n" \
|
||||
|
@ -248,7 +248,7 @@ static INSN_REGPARM void thumbBreakpoint(u32 opcode)
|
|||
{\
|
||||
register int Flags; \
|
||||
register int Result; \
|
||||
asm volatile("mtspr xer, %4\n" \
|
||||
asm volatile("mtspr 1, %4\n" \ /* reg 1 is xer */
|
||||
"subfeo. %0, %3, %2\n" \
|
||||
"mcrxr cr1\n" \
|
||||
"mfcr %1\n" \
|
||||
|
|
Loading…
Reference in New Issue