Hi,
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.
Regards, Carl-Daniel
On Mon, Mar 31, 2008 at 2:18 PM, Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@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.
Sigh.
ron
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@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