bios_wini driver

This commit is contained in:
Philip Homburg
2005-07-29 10:21:04 +00:00
parent f6b0544de9
commit 49c25df569
18 changed files with 640 additions and 11 deletions

View File

@@ -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
View 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);
}