mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-22 12:21:18 +00:00
thermosphere: use ish instead of sy in most places
This commit is contained in:
parent
d1cd17a9df
commit
3ca3e094fe
2 changed files with 10 additions and 10 deletions
|
@ -19,7 +19,7 @@
|
|||
// Precondition: x1 <= 16
|
||||
FUNCTION loadBreakpointRegs
|
||||
// x1 = number
|
||||
dmb sy
|
||||
dmb ish
|
||||
|
||||
adr x16, 1f
|
||||
add x0, x0, #(16 * 8)
|
||||
|
@ -35,7 +35,7 @@ FUNCTION loadBreakpointRegs
|
|||
msr dbgbcr\count\()_el1, x2
|
||||
msr dbgbvr\count\()_el1, x3
|
||||
.endr
|
||||
dsb sy
|
||||
dsb ish
|
||||
isb
|
||||
ret
|
||||
END_FUNCTION
|
||||
|
@ -43,7 +43,7 @@ END_FUNCTION
|
|||
// Precondition: x1 <= 16
|
||||
FUNCTION loadWatchpointRegs
|
||||
// x1 = number
|
||||
dmb sy
|
||||
dmb ish
|
||||
|
||||
adr x16, 1f
|
||||
add x0, x0, #(16 * 8)
|
||||
|
@ -59,7 +59,7 @@ FUNCTION loadWatchpointRegs
|
|||
msr dbgwcr\count\()_el1, x2
|
||||
msr dbgwvr\count\()_el1, x3
|
||||
.endr
|
||||
dsb sy
|
||||
dsb ish
|
||||
isb
|
||||
ret
|
||||
END_FUNCTION
|
||||
|
|
|
@ -36,23 +36,23 @@
|
|||
.endm
|
||||
|
||||
FUNCTION fpuLoadRegistersFromStorage
|
||||
dmb sy
|
||||
dmb ish
|
||||
LDSTORE_QREGS ldp
|
||||
ldp x1, x2, [x0]
|
||||
msr fpsr, x1
|
||||
msr fpcr, x2
|
||||
dsb sy
|
||||
isb sy
|
||||
dsb ish
|
||||
isb ish
|
||||
ret
|
||||
END_FUNCTION
|
||||
|
||||
FUNCTION fpuStoreRegistersToStorage
|
||||
dsb sy
|
||||
isb sy
|
||||
dsb ish
|
||||
isb ish
|
||||
LDSTORE_QREGS stp
|
||||
mrs x1, fpsr
|
||||
mrs x2, fpcr
|
||||
stp x1, x2, [x0]
|
||||
dmb sy
|
||||
dmb ish
|
||||
ret
|
||||
END_FUNCTION
|
||||
|
|
Loading…
Reference in a new issue