bios_wini driver
This commit is contained in:
@@ -14,6 +14,7 @@ OBJECTS = \
|
||||
$(LIBSYS)(sys_abort.o) \
|
||||
$(LIBSYS)(sys_exec.o) \
|
||||
$(LIBSYS)(sys_fork.o) \
|
||||
$(LIBSYS)(sys_int86.o) \
|
||||
$(LIBSYS)(sys_kill.o) \
|
||||
$(LIBSYS)(sys_newmap.o) \
|
||||
$(LIBSYS)(sys_sigsend.o) \
|
||||
@@ -62,6 +63,9 @@ $(LIBSYS)(sys_exec.o): sys_exec.c
|
||||
$(LIBSYS)(sys_fork.o): sys_fork.c
|
||||
$(CC1) sys_fork.c
|
||||
|
||||
$(LIBSYS)(sys_int86.o): sys_int86.c
|
||||
$(CC1) sys_int86.c
|
||||
|
||||
$(LIBSYS)(sys_kill.o): sys_kill.c
|
||||
$(CC1) sys_kill.c
|
||||
|
||||
|
||||
17
lib/syslib/sys_int86.c
Normal file
17
lib/syslib/sys_int86.c
Normal file
@@ -0,0 +1,17 @@
|
||||
#include "syslib.h"
|
||||
|
||||
/*===========================================================================*
|
||||
* sys_int86 *
|
||||
*===========================================================================*/
|
||||
PUBLIC int sys_int86(reg86p)
|
||||
struct reg86u *reg86p;
|
||||
{
|
||||
message m;
|
||||
int result;
|
||||
|
||||
m.m1_p1= (char *)reg86p;
|
||||
|
||||
result = _taskcall(SYSTASK, SYS_INT86, &m);
|
||||
return(result);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user