From e781fb26fdd422ea72c3a0eeba817e4faa5f663b Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Wed, 1 Apr 2015 20:22:48 -0400 Subject: as of 2013-10-17 --- sys_req.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 sys_req.c (limited to 'sys_req.c') diff --git a/sys_req.c b/sys_req.c new file mode 100644 index 0000000..b48a7bb --- /dev/null +++ b/sys_req.c @@ -0,0 +1,30 @@ +/*********************************************************************** +* +* Procedure Name: sys_req +* +* +* Purpose: System request for round robin dispatcher test. +* +* Sample Call: sys_req(op_num,op_type,&buffer,&len) +* where +* op_num specifies the operation requested +* op_type specifies read or write +* buffer is the data buffer +* length is the number of characters to read or write +* +* Algorithm: Request to sys_call is made via an int 60. Parameters +* passed to sys_req remain on the stack for use by sys_call. +* +************************************************************************/ + + +#include + +extern void interrupt sys_call(); + + +void sys_req(int op_number,int op_type,char *buff_add,int *length) +{ + geninterrupt(0x60); /* If all is set up right, this should */ +} /* invoke sys_call() to handle the request. */ + -- cgit v1.2.3