krnl386: Align the stack before calling the entry point.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56152
This commit is contained in:
parent
de3bc7d511
commit
7748c76e35
1 changed files with 2 additions and 1 deletions
|
@ -339,7 +339,8 @@ static inline DWORD stack32_pop( CONTEXT *context )
|
|||
"pushl %esp\n\t" /* context */ \
|
||||
"call " __ASM_STDCALL("RtlCaptureContext",4) "\n\t" \
|
||||
"movl %esp,%esi\n\t" \
|
||||
"pushl %esp\n\t" /* context */ \
|
||||
"andl $~3,%esp\n\t" \
|
||||
"pushl %esi\n\t" /* context */ \
|
||||
"call " __ASM_STDCALL("__regs_" #name,4) "\n\t" \
|
||||
"pushl $0\n\t" /* alertable */ \
|
||||
"pushl %esi\n\t" /* context */ \
|
||||
|
|
Loading…
Add table
Reference in a new issue