Re: [PATCH] x86: Fix boot protocol KEEP_SEGMENTS check.

From: Eric W. Biederman
Date: Fri Oct 26 2007 - 14:24:19 EST


"H. Peter Anvin" <hpa@xxxxxxxxx> writes:

> Eric W. Biederman wrote:
>>
>> Both x86 and x86_64 support the same boot protocol so we need
>> to implement the KEEP_SEGMENTS on x86_64 as well. It isn't
>> just paravirt bootloaders that could use this functionality.
>>
>
> Out of curiousity, what other users do you see?

Simply that is easier to provide segments that are not fit to be
reloaded before the kernel sets up it's own GDT. Then to ensure you
stick a GDT someplace that won't get stomped.

Especially before we froze which segments numbers the kernel
would load into the boot protocol. I would have used this in
places where I was doing 32bit bootloader work as it is just easier to
support.

Eric
-
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/