Minor code formatting fix in svc.s
This commit is contained in:
parent
56d3d79eae
commit
4b4b781ec3
@ -268,26 +268,26 @@ svcOutputDebugString:
|
|||||||
.global svcCreateSemaphore
|
.global svcCreateSemaphore
|
||||||
.type svcCreateSemaphore, %function
|
.type svcCreateSemaphore, %function
|
||||||
svcCreateSemaphore:
|
svcCreateSemaphore:
|
||||||
push {r0}
|
push {r0}
|
||||||
svc 0x15
|
svc 0x15
|
||||||
pop {r3}
|
pop {r3}
|
||||||
str r1, [r3]
|
str r1, [r3]
|
||||||
bx lr
|
bx lr
|
||||||
|
|
||||||
.global svcReleaseSemaphore
|
.global svcReleaseSemaphore
|
||||||
.type svcReleaseSemaphore, %function
|
.type svcReleaseSemaphore, %function
|
||||||
svcReleaseSemaphore:
|
svcReleaseSemaphore:
|
||||||
push {r0}
|
push {r0}
|
||||||
svc 0x16
|
svc 0x16
|
||||||
pop {r3}
|
pop {r3}
|
||||||
str r1, [r3]
|
str r1, [r3]
|
||||||
bx lr
|
bx lr
|
||||||
|
|
||||||
.global svcGetThreadId
|
.global svcGetThreadId
|
||||||
.type svcGetThreadId, %function
|
.type svcGetThreadId, %function
|
||||||
svcGetThreadId:
|
svcGetThreadId:
|
||||||
str r0, [sp,#-0x4]!
|
str r0, [sp, #-0x4]!
|
||||||
svc 0x37
|
svc 0x37
|
||||||
ldr r3, [sp], #4
|
ldr r3, [sp], #4
|
||||||
str r1, [r3]
|
str r1, [r3]
|
||||||
bx lr
|
bx lr
|
||||||
|
Loading…
Reference in New Issue
Block a user