Implementing

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Implementing

Post by Pype.Clicker »

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 ?
beyondsociety

Re:Implementing

Post by beyondsociety »

Where would you expect your GDT to be loaded ?
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.

Should I load it somewhere?
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 ?
Im not sure what you mean?
Post Reply