diff --git a/src/sys/include/sys/gdt.h b/src/sys/include/sys/gdt.h index 1121902..ed77905 100644 --- a/src/sys/include/sys/gdt.h +++ b/src/sys/include/sys/gdt.h @@ -93,10 +93,15 @@ #define ubixGateDescriptor(offset, selector, control) {gate: {(offset & 0xffff), selector, \ (control+dPresent), (offset >> 16) }} +extern union descriptorTableUnion ubixGDT[9]; + #endif /*** $Log$ + Revision 1.4 2004/07/22 20:53:07 reddawg + atkbd: fixed problem + Revision 1.3 2004/05/21 15:12:17 reddawg Cleaned up diff --git a/src/sys/isa/fdc.c b/src/sys/isa/fdc.c index 8715231..c5b0fda 100644 --- a/src/sys/isa/fdc.c +++ b/src/sys/isa/fdc.c @@ -203,7 +203,8 @@ void motorOff(void) { if (motor == TRUE) { - outportByte(fdcDor,0x1C); + //outportByte(fdcDor,0x0); + //outportByte(fdcDor,0x0C); motor = FALSE; } } @@ -303,6 +304,9 @@ /*** $Log$ + Revision 1.20 2004/08/15 00:33:02 reddawg + Wow the ide driver works again + Revision 1.19 2004/08/01 20:40:45 reddawg Net related fixes diff --git a/src/sys/kernel/sched.c b/src/sys/kernel/sched.c index 80ce059..3123402 100644 --- a/src/sys/kernel/sched.c +++ b/src/sys/kernel/sched.c @@ -32,17 +32,13 @@ #include #include #include -#include #include #include #include #include -#include #include #include -extern union descriptorTableUnion ubixGDT[5]; - static spinLock_t sched_spinLock = SPIN_LOCK_INITIALIZER; static kTask_t *runList = 0x0; @@ -65,6 +61,7 @@ return(tmpTask); } } + /* Finished all the tasks, restarting the list */ if (0x0 == tmpTask) { tmpTask = runList; @@ -129,7 +126,7 @@ irqDisable(0x0); /* Update our TSS to new task info */ - memAddr = (uInt32)&(_current->tss); + memAddr = (uInt32)&(_current->tss); ubixGDT[4].descriptor.baseLow = (memAddr & 0xFFFF); ubixGDT[4].descriptor.baseMed = ((memAddr >> 16) & 0xFF); ubixGDT[4].descriptor.baseHigh = (memAddr >> 24); @@ -280,6 +277,9 @@ /*** $Log$ + Revision 1.32 2004/08/14 21:56:44 reddawg + Added initialized byte to the device system to make it easy to add child devices which use parent hardware. + Revision 1.31 2004/08/14 11:23:02 reddawg Changes