Re: Extending boot protocol & bzImage for paravirt_ops

From: H. Peter Anvin
Date: Sat May 26 2007 - 16:43:21 EST


Rusty Russell wrote:
>>
>> + Bit 6 (write): KEEP_SEGMENTS
>> + Protocol: 2.07+
>> + - if 0, reload the segment registers in the 32bit entry point.
>> + - if 1, do not reload the segment registers in the 32bit entry point.
>> + Assume that %cs %ds %ss %es are all set to flat segments with
>> + a base of 0 (or the equivalent for their environment).
>
> You also want to skip the cli: perhaps a separate flag for this is
> appropriate though.
>

Do we have *any* environment that enters the 32-bit code with interrupts
enabled? I would think that is unsafe no matter how you do it.

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