what about the following:
- make sure your bochs has debugging symbols integrated and the debugger support
- make sure your system has "ddd" installed
- run bochs in the DDD debugger
- locate the 'IRET' causing the issue in your code, set a bochs breakpoint there and run the code
- you'll get back a bochs prompt. Now interrupt bochs
- set a breakpoint on iret_protected (in source file cpu/ctrl_xfer32.cc or something)
- step through the code: that should show you what's being popped off, in what order and why it's (or it's not) what's expected.
Switching Segments Causes Page Fault
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact: