2010-03-23 01:09:11 +01:00
|
|
|
#include <minix/ipcconst.h>
|
2010-08-17 18:44:07 +02:00
|
|
|
#include <machine/asm.h>
|
2010-03-03 15:27:30 +01:00
|
|
|
|
|
|
|
MSGTAB = 8 /* message table */
|
|
|
|
TABCOUNT = 12 /* number of entries in message table */
|
|
|
|
|
2012-06-10 19:50:17 +02:00
|
|
|
ENTRY(_senda_orig)
|
2010-03-03 15:27:30 +01:00
|
|
|
push %ebp
|
|
|
|
movl %esp, %ebp
|
|
|
|
push %ebx
|
|
|
|
movl TABCOUNT(%ebp), %eax /* eax = count */
|
|
|
|
movl MSGTAB(%ebp), %ebx /* ebx = table */
|
|
|
|
movl $SENDA, %ecx /* _senda(table, count) */
|
2012-08-26 18:44:27 +02:00
|
|
|
int $IPCVEC /* trap to the kernel */
|
2010-03-03 15:27:30 +01:00
|
|
|
pop %ebx
|
|
|
|
pop %ebp
|
|
|
|
ret
|