general protection fault on real system
Posted: Fri Apr 17, 2009 12:44 am
Hi,
I got a general protection fault while testing my os on a real system. The code works fine on both qemu and bochs and shows no errors. Is there any reason why the real system shows fault but not emulator ?
In our os, the general protection fault occurs while killing an application and returning to the shell. For switching of privilege levels, i use a single tss. The single tss is initialized to contains the values of kernel mode esp0 and ss0.
PLEASE HELP US SOON....
I got a general protection fault while testing my os on a real system. The code works fine on both qemu and bochs and shows no errors. Is there any reason why the real system shows fault but not emulator ?
In our os, the general protection fault occurs while killing an application and returning to the shell. For switching of privilege levels, i use a single tss. The single tss is initialized to contains the values of kernel mode esp0 and ss0.
PLEASE HELP US SOON....