diff --git a/src/sys/kernel/vitals.c b/src/sys/kernel/vitals.c index e6bade2..b160732 100644 --- a/src/sys/kernel/vitals.c +++ b/src/sys/kernel/vitals.c @@ -31,8 +31,6 @@ #include #include #include -#include -#include vitalsNode *systemVitals = 0x0; @@ -49,7 +47,6 @@ int vitals_init() { /* Initialize Memory For The System Vitals Node */ systemVitals = (vitalsNode *) kmalloc(sizeof(vitalsNode)); - assert(systemVitals); /* If malloc Failed Then Error */ if (systemVitals == 0x0) { @@ -57,7 +54,7 @@ } /* Set all default values */ - systemVitals->freePages = freePages; + systemVitals->freePages = 0x0; systemVitals->sysTicks = 0x0; systemVitals->sysUptime = 0x0; systemVitals->quantum = 40; @@ -73,11 +70,13 @@ /* Return so kernel knows that there is no problem */ return(0x0); - } /*** $Log$ + Revision 1.8 2004/07/17 03:22:20 reddawg + Added asscerts + Revision 1.7 2004/07/09 13:03:50 reddawg vitals: named vitalsInit to vitals_init Adjusted Startup Routines @@ -98,7 +97,6 @@ Revision 1.2 2004/05/15 02:30:28 reddawg Lots of changes - END ***/