aboutsummaryrefslogtreecommitdiff
path: root/op_string.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-05-08 15:42:38 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-05-08 15:42:38 +0000
commitbf7c65bdf482923f34c3cbb42bd93f10416e3025 (patch)
tree7f604cde858e82d1b7831730c2d48e84c3e7064a /op_string.h
parent8e5a0667f8ef206773250f9b9dd5a4759369096e (diff)
downloadqemu-bf7c65bdf482923f34c3cbb42bd93f10416e3025.zip
qemu-bf7c65bdf482923f34c3cbb42bd93f10416e3025.tar.gz
qemu-bf7c65bdf482923f34c3cbb42bd93f10416e3025.tar.bz2
changed I/O function prototype to include emulator state
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@133 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'op_string.h')
-rw-r--r--op_string.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/op_string.h b/op_string.h
index 9d0b454..c7ff74c 100644
--- a/op_string.h
+++ b/op_string.h
@@ -193,7 +193,7 @@ void OPPROTO glue(glue(op_outs, SUFFIX), STRING_SUFFIX)(void)
int v, dx, inc;
dx = EDX & 0xffff;
v = glue(ldu, SUFFIX)(SI_ADDR);
- glue(cpu_x86_out, SUFFIX)(dx, v);
+ glue(cpu_x86_out, SUFFIX)(env, dx, v);
inc = (DF << SHIFT);
INC_SI();
}
@@ -205,7 +205,7 @@ void OPPROTO glue(glue(op_rep_outs, SUFFIX), STRING_SUFFIX)(void)
dx = EDX & 0xffff;
while (CX != 0) {
v = glue(ldu, SUFFIX)(SI_ADDR);
- glue(cpu_x86_out, SUFFIX)(dx, v);
+ glue(cpu_x86_out, SUFFIX)(env, dx, v);
INC_SI();
DEC_CX();
}
@@ -216,7 +216,7 @@ void OPPROTO glue(glue(op_ins, SUFFIX), STRING_SUFFIX)(void)
{
int v, dx, inc;
dx = EDX & 0xffff;
- v = glue(cpu_x86_in, SUFFIX)(dx);
+ v = glue(cpu_x86_in, SUFFIX)(env, dx);
glue(st, SUFFIX)(DI_ADDR, v);
inc = (DF << SHIFT);
INC_DI();
@@ -228,7 +228,7 @@ void OPPROTO glue(glue(op_rep_ins, SUFFIX), STRING_SUFFIX)(void)
inc = (DF << SHIFT);
dx = EDX & 0xffff;
while (CX != 0) {
- v = glue(cpu_x86_in, SUFFIX)(dx);
+ v = glue(cpu_x86_in, SUFFIX)(env, dx);
glue(st, SUFFIX)(DI_ADDR, v);
INC_DI();
DEC_CX();