[SerialICE] r77 - trunk/qemu-0.11.0
svn at coresystems.de
svn at coresystems.de
Tue Dec 1 12:47:58 CET 2009
Author: oxygene
Date: 2009-12-01 12:47:55 +0100 (Tue, 01 Dec 2009)
New Revision: 77
Modified:
trunk/qemu-0.11.0/serialice.c
Log:
Reorder stack access in cpuid filter function. Didn't matter so far as
that code path was never executed with the default serialice.lua file
Modified: trunk/qemu-0.11.0/serialice.c
===================================================================
--- trunk/qemu-0.11.0/serialice.c 2009-11-27 14:11:42 UTC (rev 76)
+++ trunk/qemu-0.11.0/serialice.c 2009-12-01 11:47:55 UTC (rev 77)
@@ -290,10 +290,10 @@
ret = lua_toboolean(L, -5);
if (ret) {
- regs->eax = lua_tointeger(L, -1);
- regs->ebx = lua_tointeger(L, -2);
- regs->ecx = lua_tointeger(L, -3);
- regs->edx = lua_tointeger(L, -4);
+ regs->eax = lua_tointeger(L, -4);
+ regs->ebx = lua_tointeger(L, -3);
+ regs->ecx = lua_tointeger(L, -2);
+ regs->edx = lua_tointeger(L, -1);
}
lua_pop(L, 5);
More information about the SerialICE
mailing list