mirror of
https://github.com/reactos/reactos.git
synced 2025-03-10 10:14:44 +00:00
[NTOSKRNL]
Fix a bug in KiConvertToGuiThread inline asm and get rid of 1 instruction. svn path=/trunk/; revision=52917
This commit is contained in:
parent
4a710e9277
commit
df375f4411
1 changed files with 6 additions and 7 deletions
|
@ -759,13 +759,12 @@ KiConvertToGuiThread(VOID)
|
|||
*/
|
||||
__asm__ __volatile__
|
||||
(
|
||||
"movl %%ebp, %1\n"
|
||||
"subl %%esp, %1\n"
|
||||
"call _PsConvertToGuiThread@0\n"
|
||||
"addl %%esp, %1\n"
|
||||
"movl %1, %%ebp\n"
|
||||
"movl %%eax, %0\n"
|
||||
: "=r"(Result), "=r"(StackFrame)
|
||||
"movl %%ebp, %1\n\t"
|
||||
"subl %%esp, %1\n\t"
|
||||
"call _PsConvertToGuiThread@0\n\t"
|
||||
"addl %%esp, %1\n\t"
|
||||
"movl %1, %%ebp"
|
||||
: "=a"(Result), "=r"(StackFrame)
|
||||
:
|
||||
: "%esp", "%ecx", "%edx", "memory"
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue