mirror of
https://github.com/reactos/reactos.git
synced 2025-03-10 18:24:02 +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__
|
__asm__ __volatile__
|
||||||
(
|
(
|
||||||
"movl %%ebp, %1\n"
|
"movl %%ebp, %1\n\t"
|
||||||
"subl %%esp, %1\n"
|
"subl %%esp, %1\n\t"
|
||||||
"call _PsConvertToGuiThread@0\n"
|
"call _PsConvertToGuiThread@0\n\t"
|
||||||
"addl %%esp, %1\n"
|
"addl %%esp, %1\n\t"
|
||||||
"movl %1, %%ebp\n"
|
"movl %1, %%ebp"
|
||||||
"movl %%eax, %0\n"
|
: "=a"(Result), "=r"(StackFrame)
|
||||||
: "=r"(Result), "=r"(StackFrame)
|
|
||||||
:
|
:
|
||||||
: "%esp", "%ecx", "%edx", "memory"
|
: "%esp", "%ecx", "%edx", "memory"
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue