how to reload the GDtR in PM?

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.
Post Reply
AltCtrlDel
Member
Member
Posts: 25
Joined: Sat Jun 25, 2005 11:00 pm

how to reload the GDtR in PM?

Post by AltCtrlDel »

i want to reload the GDTR after switching to PM for some design issue..

i have tried to do so by copying the descriptors in the old table into the new one just before the LGDT instruction to ensure that the current CS and DS values will remain valid after reload...however my OS crashes.

is this a valid method? has anybody tried this before?

thnx in advance
Post Reply