aboutsummaryrefslogtreecommitdiff
path: root/ops_template.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 /ops_template.h
parent8e5a0667f8ef206773250f9b9dd5a4759369096e (diff)
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 'ops_template.h')
-rw-r--r--ops_template.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ops_template.h b/ops_template.h
index b734d0f450..4cada782c2 100644
--- a/ops_template.h
+++ b/ops_template.h
@@ -843,12 +843,12 @@ void OPPROTO glue(glue(op_bsr, SUFFIX), _T0_cc)(void)
void OPPROTO glue(glue(op_out, SUFFIX), _T0_T1)(void)
{
- glue(cpu_x86_out, SUFFIX)(T0 & 0xffff, T1 & DATA_MASK);
+ glue(cpu_x86_out, SUFFIX)(env, T0 & 0xffff, T1 & DATA_MASK);
}
void OPPROTO glue(glue(op_in, SUFFIX), _T0_T1)(void)
{
- T1 = glue(cpu_x86_in, SUFFIX)(T0 & 0xffff);
+ T1 = glue(cpu_x86_in, SUFFIX)(env, T0 & 0xffff);
}
#undef DATA_BITS