mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
[NTOSKRNL]
Fix MSVC version of KiConvertToGuiThread (save and restore ebx) Noticed by Dmitry svn path=/trunk/; revision=52923
This commit is contained in:
parent
c0789864ad
commit
a79af2e728
1 changed files with 6 additions and 0 deletions
|
@ -167,6 +167,9 @@ EXTERN _PsConvertToGuiThread@0:PROC
|
|||
|
||||
PUBLIC _KiConvertToGuiThread@0
|
||||
_KiConvertToGuiThread@0:
|
||||
/* Safe ebx */
|
||||
push ebx
|
||||
|
||||
/* Calculate the stack frame offset in ebx */
|
||||
mov ebx, ebp
|
||||
sub ebx, esp
|
||||
|
@ -178,6 +181,9 @@ _KiConvertToGuiThread@0:
|
|||
mov ebp, esp
|
||||
add ebp, ebx
|
||||
|
||||
/* Restore ebx */
|
||||
pop ebx
|
||||
|
||||
/* return to the caller */
|
||||
ret
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue