[coreboot] gcc 4.3.0 and the direction flag
Carl-Daniel Hailfinger
c-d.hailfinger.devel.2006 at gmx.net
Mon Mar 31 23:58:38 CEST 2008
On 31.03.2008 23:33, ron minnich wrote:
> On Mon, Mar 31, 2008 at 2:18 PM, Carl-Daniel Hailfinger
> <c-d.hailfinger.devel.2006 at gmx.net> wrote:
>
>
>> do we clear the x86 direction flag everywhere before and after we run
>> code not under our control? I'm thinking of option ROM code and initial
>> asm code as examples.
>>
>
> in v3, cld happens early. We should probably do a cld everytime we
> return from the run_address function, which just made that function
> non-architecture-independent.
>
Can we stuff that in arch/x86/ somewhere? The vm86 code is arch specific
anyway. Same for the VSA code.
x86emu should not be affected.
Regards,
Carl-Daniel
More information about the coreboot
mailing list