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

From: Maciej W. Rozycki
Date: Tue Nov 16 2004 - 07:44:37 EST


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

> There is a patch from hiroit@xxxxxxxxx to fix the GDT issue. You can try
> it.
> Please cc 'acpi-devel@xxxxxxxxxxxxxxxxxxxxx' 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/