gint_strcat/src/syscalls.s

38 lines
493 B
ArmAsm

/*
This file contains all the system calls used by the library. Maybe one
day we won't need them anymore ?
*/
.global ___Hmem_SetMMU
.global ___GLibAddinAplExecutionCheck
.global ___Print
___Hmem_SetMMU:
mov.l syscall_table, r2
mov.l 1f, r0
jmp @r2
nop
1: .long 0x3fa
___GLibAddinAplExecutionCheck:
mov.l syscall_table, r2
mov #0x13, r0
jmp @r2
nop
___Print:
mov.l syscall_table, r2
mov.l 1f, r0
jmp @r2
nop
1: .long 0x15d
.align 4
syscall_table:
.long 0x80010070