mirror of
https://github.com/ipxe/ipxe
synced 2025-12-13 15:31:42 +03:00
Real-mode code might set the direction flag, which would cause carnage.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user