mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-22 12:21:18 +00:00
thermosphere: small spinlock improvements
This commit is contained in:
parent
5473443057
commit
310048a32c
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue