Re: [PATCH 12/12] i386 boot: Add an ELF header to bzImage

H. Peter Anvin
2006-10-06T21:55:19Z

Eric W. Biederman wrote:
> "H. Peter Anvin" <hpa@zytor.com> writes:
>
>> Vivek Goyal wrote:
>>> Hi Eric,
>>> I have added cld in the regenerated patch below.
>> No, the cld needs to be earlier. It turns out this isn't the first use of
>> string instructions.
>
> Can we rely on the int calls not setting df? Otherwise we need to clear
> df at each use as we do with all of the later uses.
>

Yes, we can, with a few exceptions. INT saves the flags and IRET
restores them.

-hpa