2 static char RCSId[] = "$Id: kernel.c,v 1.2 1993/07/04 04:04:21 root Exp root $";
3 static char Copyright[] = "Copyright Robert J. Amstadt, 1993";
8 #include "prototypes.h"
14 extern unsigned short WIN_StackSize;
16 /**********************************************************************
20 KERNEL_LockSegment(int segment)
23 segment = pStack16Frame->ds;
26 fprintf(stddeb,"LockSegment: segment %x\n", segment);
31 /**********************************************************************
32 * KERNEL_UnlockSegment
35 KERNEL_UnlockSegment(int segment)
38 segment = pStack16Frame->ds;
41 fprintf(stddeb,"UnlockSegment: segment %x\n", segment);
46 /**********************************************************************
49 void KERNEL_InitTask(void)
54 _DX = Options.cmdShow;
57 /* FIXME: DI should contain the instance handle of the caller, _DS doesn't
58 always work as the caller might have changed it. */
61 ReturnFromRegisterFunc();
62 /* Function does not return */
65 /**********************************************************************
69 KERNEL_WaitEvent(int task)
72 fprintf(stddeb,"WaitEvent: task %d\n", task);