mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-07-07 10:02:14 +02:00
thermosphere: small spinlock improvements
This commit is contained in:
parent
f4e7425b27
commit
d0821a3f50
@ -28,6 +28,7 @@
|
||||
FUNCTION spinlockLock
|
||||
mov w2, #1
|
||||
sevl
|
||||
prfm pstl1keep, [x0]
|
||||
l1:
|
||||
wfe
|
||||
l2:
|
||||
@ -40,6 +41,5 @@ END_FUNCTION
|
||||
|
||||
FUNCTION spinlockUnlock
|
||||
stlr wzr, [x0]
|
||||
sev
|
||||
ret
|
||||
END_FUNCTION
|
||||
|
Loading…
Reference in New Issue
Block a user