diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-11-13 00:13:08 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-11-13 00:13:08 +0000 |
commit | 3e25f9515a07d47da843d9b3835e25def785dcee (patch) | |
tree | ef8a03aa41f89d91cae760cf2cb8fc1a99e49b40 /target-i386 | |
parent | 246d897f4c85cb982bef839f7723025eecb78789 (diff) |
io map checks
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@452 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r-- | target-i386/exec.h | 7 | ||||
-rw-r--r-- | target-i386/ops_template.h | 10 |
2 files changed, 17 insertions, 0 deletions
diff --git a/target-i386/exec.h b/target-i386/exec.h index dc1df94ab..6741485a0 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 182296743..064881558 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 |