stop svcOutputDebugString trashing string

This commit is contained in:
Dave Murphy 2014-12-15 02:40:11 +00:00
parent f9dee4c2c0
commit 93dbdfd74a

View File

@ -100,7 +100,7 @@ svcSignalEvent:
svcClearEvent:
svc 0x19
bx lr
.global svcCreateTimer
.type svcCreateTimer, %function
svcCreateTimer:
@ -109,19 +109,19 @@ svcCreateTimer:
ldr r2, [sp], #4
str r1, [r2]
bx lr
.global svcSetTimer
.type svcSetTimer, %function
svcSetTimer:
svc 0x1B
bx lr
.global svcCancelTimer
.type svcCancelTimer, %function
svcCancelTimer:
svc 0x1C
bx lr
.global svcClearTimer
.type svcClearTimer, %function
svcClearTimer:
@ -259,10 +259,7 @@ svcGetProcessId:
.global svcOutputDebugString
.type svcOutputDebugString, %function
svcOutputDebugString:
str r0, [sp, #-0x4]!
svc 0x3D
ldr r2, [sp], #4
str r1, [r2]
bx lr
.global svcCreateSemaphore