bsd-user: Fix operand to cpu_x86_exec
PATCH 1/1 bsd-user: Fix operand to cpu_x86_exec
Signed-off-by Richard Henderson <[email protected]>
---
This buglet, from whenever we re-orged the parameters, means that all x86-bsd-user invocations die instantly.
r~
--- bsd-user/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
bsd-user/main.c +1 -1
@@ -173,7 +173,7 @@ void cpu_loop(CPUX86State *env)//target_siginfo_t info; for (;;) { - trapnr =cpu_x86_exec (env); + trapnr =cpu_x86_exec (cs);switch (trapnr) {case 0x80 :/* syscall from int $0x80 */
Signature · 1 line
2.4.3
Quoted 16 lines · Richard Henderson
Signed-off-by Richard Henderson <[email protected]>---
This buglet, from whenever we re-orged the parameters, means that all x86-bsd-user invocations die instantly.r~
--- bsd-user/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)bsd-user/main.c +0
-0
bsd-user/main.c void cpu_loop(CPUX86State *env) · line 179
Quoted 8 lines
bsd-user/main.c +1
-1@@ -173,7 +173,7 @@ void cpu_loop(CPUX86State *env)//target_siginfo_t info; for (;;) { - trapnr =cpu_x86_exec (env); + trapnr =cpu_x86_exec (cs);switch (trapnr) {case 0x80 :/* syscall from int $0x80 */
Whoops. This sounds like it's worth putting into 2.4...
Reviewed-by Peter Maydell <[email protected]>
thanks
-- PMM
Peter Maydell
AppliedQuoted 28 lines · Peter Maydell
Quoted 16 lines · Richard Henderson
Signed-off-by Richard Henderson <[email protected]>---
This buglet, from whenever we re-orged the parameters, means that all x86-bsd-user invocations die instantly.r~
--- bsd-user/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)bsd-user/main.c +0
-0bsd-user/main.c void cpu_loop(CPUX86State *env) · line 179
Quoted 8 lines
bsd-user/main.c +1
-1@@ -173,7 +173,7 @@ void cpu_loop(CPUX86State *env)//target_siginfo_t info; for (;;) { - trapnr =cpu_x86_exec (env); + trapnr =cpu_x86_exec (cs);switch (trapnr) {case 0x80 :/* syscall from int $0x80 */ Whoops. This sounds like it's worth putting into 2.4...
Quoted 1 line
Reviewed-by Peter Maydell <[email protected]>
Applied, thanks.
-- PMM