General Fault Protection while Multitasking

Topics: Developing Cosmos (Working on Cosmos source code directly), Using Cosmos (Developing your own OS, projects, etc)
Dec 29, 2012 at 4:03 PM
Edited Dec 29, 2012 at 4:05 PM

Whenever the os switches after a period of time it causes a General Protection Fault. When i decode the error information it says it is as a result of the GDT. Is the GDT set up properly for multitasking and Processor Ring0 and Ring3?