mirror of
https://github.com/reactos/reactos.git
synced 2025-06-13 11:28:31 +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
|
PUBLIC _KiConvertToGuiThread@0
|
||||||
_KiConvertToGuiThread@0:
|
_KiConvertToGuiThread@0:
|
||||||
|
/* Safe ebx */
|
||||||
|
push ebx
|
||||||
|
|
||||||
/* Calculate the stack frame offset in ebx */
|
/* Calculate the stack frame offset in ebx */
|
||||||
mov ebx, ebp
|
mov ebx, ebp
|
||||||
sub ebx, esp
|
sub ebx, esp
|
||||||
|
@ -178,6 +181,9 @@ _KiConvertToGuiThread@0:
|
||||||
mov ebp, esp
|
mov ebp, esp
|
||||||
add ebp, ebx
|
add ebp, ebx
|
||||||
|
|
||||||
|
/* Restore ebx */
|
||||||
|
pop ebx
|
||||||
|
|
||||||
/* return to the caller */
|
/* return to the caller */
|
||||||
ret
|
ret
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue