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