io map checks

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@452 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2003-11-13 00:13:08 +00:00
parent 246d897f4c
commit 3e25f9515a
2 changed files with 17 additions and 0 deletions

View File

@ -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)

View File

@ -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