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....
general protection fault on real system
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: general protection fault on real system
Your OS probably relies on memory being zeroed in advance.