[NTOSKRNL]

Fix MSVC version of KiConvertToGuiThread (save and restore ebx)
Noticed by Dmitry

svn path=/trunk/; revision=52923
This commit is contained in:
Timo Kreuzer 2011-07-27 13:37:57 +00:00
parent c0789864ad
commit a79af2e728

View file

@ -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