From 3e25f9515a07d47da843d9b3835e25def785dcee Mon Sep 17 00:00:00 2001 From: bellard Date: Thu, 13 Nov 2003 00:13:08 +0000 Subject: [PATCH] io map checks git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@452 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-i386/exec.h | 7 +++++++ target-i386/ops_template.h | 10 ++++++++++ 2 files changed, 17 insertions(+) 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