Commit 3e25f9515a07d47da843d9b3835e25def785dcee
1 parent
246d897f
io map checks
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@452 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
2 changed files
with
17 additions
and
0 deletions
target-i386/exec.h
@@ -171,6 +171,13 @@ void helper_wrmsr(void); | @@ -171,6 +171,13 @@ void helper_wrmsr(void); | ||
171 | void helper_lsl(void); | 171 | void helper_lsl(void); |
172 | void helper_lar(void); | 172 | void helper_lar(void); |
173 | 173 | ||
174 | +void check_iob_T0(void); | ||
175 | +void check_iow_T0(void); | ||
176 | +void check_iol_T0(void); | ||
177 | +void check_iob_DX(void); | ||
178 | +void check_iow_DX(void); | ||
179 | +void check_iol_DX(void); | ||
180 | + | ||
174 | /* XXX: move that to a generic header */ | 181 | /* XXX: move that to a generic header */ |
175 | #if !defined(CONFIG_USER_ONLY) | 182 | #if !defined(CONFIG_USER_ONLY) |
176 | 183 |
target-i386/ops_template.h
@@ -608,6 +608,16 @@ void OPPROTO glue(glue(op_out, SUFFIX), _DX_T0)(void) | @@ -608,6 +608,16 @@ void OPPROTO glue(glue(op_out, SUFFIX), _DX_T0)(void) | ||
608 | glue(cpu_x86_out, SUFFIX)(env, EDX & 0xffff, T0); | 608 | glue(cpu_x86_out, SUFFIX)(env, EDX & 0xffff, T0); |
609 | } | 609 | } |
610 | 610 | ||
611 | +void OPPROTO glue(glue(op_check_io, SUFFIX), _T0)(void) | ||
612 | +{ | ||
613 | + glue(glue(check_io, SUFFIX), _T0)(); | ||
614 | +} | ||
615 | + | ||
616 | +void OPPROTO glue(glue(op_check_io, SUFFIX), _DX)(void) | ||
617 | +{ | ||
618 | + glue(glue(check_io, SUFFIX), _DX)(); | ||
619 | +} | ||
620 | + | ||
611 | #undef DATA_BITS | 621 | #undef DATA_BITS |
612 | #undef SHIFT_MASK | 622 | #undef SHIFT_MASK |
613 | #undef SIGN_MASK | 623 | #undef SIGN_MASK |