Re: why LIDT needed in Real Mode?



On Sat, 31 Dec 2005 00:02:16 GMT, Bob Smith <spamtrap@xxxxxxxxxx>
wrote:

>On 12/30/2005 2:54 AM, Wendy E. McCaughrin wrote:
>> I note in much working Pmode code that a necessary part of the transition
>> back to Real Mode is: LIDT [RM_IDT], where `RM_IDT' is a descriptor for an
>> IDT with limit = 64K and base-address = 0, coinciding with the Real-Mode
>> IVT. Why is this necessary, since Real Mode does not use the IDTR? Or does
>> it?
>
>As noted, RM does use the IDT.
>
>FWIW, you can read more about the transition from PM to RM at
>
>http://www.sudleyplace.com/pmtorm.html


Any chance you'd cover the other side of the equation, namely RM to PM
in another article?

I've been told the PM to RM and back stuff is needed for PXE booting but
this stuff is a bit over my head.

Thanks,
jcr


.