mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +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:
@@ -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"
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user