switch protected mode under bochs error!!

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
chase

switch protected mode under bochs error!!

Post by chase »

when I load GDT and IDT to make system switch into protected mode and finish updating segments, bochs get a error message, it is '00000246631p[CPU ] >>PANIC<< fetch_raw_descriptor: LDTR.valid=0'. any help is appreciated!!
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:switch protected mode under bochs error!!

Post by Pype.Clicker »

i'm not a bochs guru, but maybe you could try lldt 0, giving a value to the LDT register (but still without having to describe an LDT if it's not yet ready ;)
Post Reply