minix/lib/libc/arch/arm/sys-minix/_senda.S

14 lines
313 B
ArmAsm
Raw Normal View History

2012-08-28 19:34:08 +02:00
#include <minix/ipcconst.h>
#include <machine/asm.h>
2012-10-08 03:38:03 +02:00
ENTRY(_senda_orig)
2012-08-28 19:34:08 +02:00
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