mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-23 12:51:13 +00:00
thermosphere: small spinlock improvements
This commit is contained in:
parent
f4e7425b27
commit
d0821a3f50
1 changed files with 1 additions and 1 deletions
|
@ -28,6 +28,7 @@
|
||||||
FUNCTION spinlockLock
|
FUNCTION spinlockLock
|
||||||
mov w2, #1
|
mov w2, #1
|
||||||
sevl
|
sevl
|
||||||
|
prfm pstl1keep, [x0]
|
||||||
l1:
|
l1:
|
||||||
wfe
|
wfe
|
||||||
l2:
|
l2:
|
||||||
|
@ -40,6 +41,5 @@ END_FUNCTION
|
||||||
|
|
||||||
FUNCTION spinlockUnlock
|
FUNCTION spinlockUnlock
|
||||||
stlr wzr, [x0]
|
stlr wzr, [x0]
|
||||||
sev
|
|
||||||
ret
|
ret
|
||||||
END_FUNCTION
|
END_FUNCTION
|
||||||
|
|
Loading…
Reference in a new issue