diff options
-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 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 |