minix/lib/libc/arch/arm/sys-minix/_senda.S
2012-08-28 13:49:27 -04:00

13 lines
308 B
ArmAsm

#include <minix/ipcconst.h>
#include <machine/asm.h>
ENTRY(_senda)
push {fp}
mov fp, sp
mov r2, r0 /* r2 = table */
/* r1 already holds count */
mov r0, #SENDA /* _senda(table, count) */
mov r3, #IPCVEC /* r3 determines the SVC type */
svc #0 /* trap to kernel */
pop {fp}
bx lr