diff --git a/src/sys/init/main.c b/src/sys/init/main.c index 960a4ba..65c1bc4 100644 --- a/src/sys/init/main.c +++ b/src/sys/init/main.c @@ -55,6 +55,7 @@ #include #include #include +#include char kernelStack[8192]; // Stack Space For Our Kernel @@ -74,6 +75,16 @@ } loadGDT = { (8 * sizeof(union descriptorTableUnion) - 1), ubixGDT }; +void tmpTaskB() { + int x = 0x0; + while (1) { + if ((x % 1500) == 0x0) + mpiSpam(x,"SPAM TEST"); + x++; + asm("hlt"); + } + } + /***************************************************************************************** Desc: This is the entry point into the os where all of the kernels sub systems are started up. @@ -166,10 +177,9 @@ } */ execThread(idleTask,(uInt32)(kmalloc(0x2000)+0x2000),0x0); - kprintf("A"); execFile("init",0x0,0x0,0x0); - kprintf("B"); //execFile("shell",0x0,0x0,0x0); + execThread(tmpTaskB,(uInt32)(kmalloc(0x2000)+0x2000),0x0); kprintf("Free Pages: [%i]\n",freePages); kprintf("MemoryMap: [0x%X]\n",vmmMemoryMap); kprintf("Starting Os\n"); @@ -228,6 +238,9 @@ /*** $Log$ + Revision 1.28 2004/05/23 01:10:35 reddawg + Fixes: Started to fix re-entrancy issues many more to look into + Revision 1.27 2004/05/21 21:15:04 reddawg Fixed a few bugs which prevented the system from loadin