aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-11-13 00:13:08 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-11-13 00:13:08 +0000
commit3e25f9515a07d47da843d9b3835e25def785dcee (patch)
treeef8a03aa41f89d91cae760cf2cb8fc1a99e49b40
parent246d897f4c85cb982bef839f7723025eecb78789 (diff)
io map checks
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@452 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--target-i386/exec.h7
-rw-r--r--target-i386/ops_template.h10
2 files changed, 17 insertions, 0 deletions
diff --git a/target-i386/exec.h b/target-i386/exec.h
index dc1df94ab4..6741485a0a 100644
--- a/target-i386/exec.h
+++ b/target-i386/exec.h
@@ -171,6 +171,13 @@ void helper_wrmsr(void);
void helper_lsl(void);
void helper_lar(void);
+void check_iob_T0(void);
+void check_iow_T0(void);
+void check_iol_T0(void);
+void check_iob_DX(void);
+void check_iow_DX(void);
+void check_iol_DX(void);
+
/* XXX: move that to a generic header */
#if !defined(CONFIG_USER_ONLY)
diff --git a/target-i386/ops_template.h b/target-i386/ops_template.h
index 182296743b..064881558b 100644
--- a/target-i386/ops_template.h
+++ b/target-i386/ops_template.h
@@ -608,6 +608,16 @@ void OPPROTO glue(glue(op_out, SUFFIX), _DX_T0)(void)
glue(cpu_x86_out, SUFFIX)(env, EDX & 0xffff, T0);
}
+void OPPROTO glue(glue(op_check_io, SUFFIX), _T0)(void)
+{
+ glue(glue(check_io, SUFFIX), _T0)();
+}
+
+void OPPROTO glue(glue(op_check_io, SUFFIX), _DX)(void)
+{
+ glue(glue(check_io, SUFFIX), _DX)();
+}
+
#undef DATA_BITS
#undef SHIFT_MASK
#undef SIGN_MASK