Re: Extending boot protocol & bzImage for paravirt_ops

H. Peter Anvin
2007-05-26T20:43:19Z

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