hmm .. the "DS" thing certainly shows that your new GDT's base address is screwed up. i need to get back at your code to know how and why ...
Where would you expect your GDT to be loaded ? Could it be possible that your linker decided that the "data section" should be page-aligned and that the loader did not page-align it ?
Implementing
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Implementing
I havent really thought about this yet. At the moment the bootloader/stub takes care of it. I havent given it any location just loaded it.Where would you expect your GDT to be loaded ?
Should I load it somewhere?
Im not sure what you mean?Could it be possible that your linker decided that the "data section" should be page-aligned and that the loader did not page-align it ?