minix/lib/libsys/sys_int86.c

18 lines
408 B
C
Raw Normal View History

2005-07-29 12:21:04 +02:00
#include "syslib.h"
/*===========================================================================*
* sys_int86 *
*===========================================================================*/
2012-03-25 20:25:53 +02:00
int sys_int86(reg86p)
2005-07-29 12:21:04 +02:00
struct reg86u *reg86p;
{
message m;
int result;
m.m1_p1= (char *)reg86p;
result = _kernel_call(SYS_INT86, &m);
2005-07-29 12:21:04 +02:00
return(result);
}