david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Real-mode code might set the direction flag, which would cause carnage.

This commit is contained in:
Michael Brown 2007-07-17 13:46:37 +01:00
parent c94cdf2b7d
commit 013d381e3c
1 changed files with 3 additions and 0 deletions

View File

@ -472,6 +472,9 @@ real_call:
call *rc_function
pushal
/* For sanity's sake, clear the direction flag as soon as possible */
cld
/* Switch to protected mode and move register dump back to PM stack */
movl $RC_OFFSET_RETADDR, %ecx
pushl $1f