RE: [patch] Fix GDT re-load on ACPI resume

Maciej W. Rozycki
2004-11-16T12:43:22Z

On Tue, 16 Nov 2004, Li, Shaohua wrote:

> There is a patch from hiroit@mcn.ne.jp to fix the GDT issue. You can try
> it.
> Please cc 'acpi-devel@lists.sourceforge.net' for suspend/resume issue.

What is the "gdt body must be addressable from real mode" requirement
about? GDT is addressed by the CPU using a linear address as obtained
from GDTR (bypassing segmentation, for obvious reasons) and is accessible
regardless of its placement within the 32-bit linear address space in all
CPU modes. As its a linear address it only undergoes translation at the
page level, if enabled. The same applies to IDT.

Maciej