Ulrich Weigand wrote:
> The first method is ugly as we need to force a particular linear address
> inside the Linux address space, but the second method is somewhat ugly
> as well as we need to load the GDT *before* the task switch, so that
> the TSS descriptor is available, but then after the task switch, the
> linear base address of the GDT will have changed :-/
Another somewhat ugly solution: have one "transition" address space
that maps the code in both places and use it between the two switches.
Or have a "transition" GDT...
I can't think of anything really elegant.
Ramon