Displaying 3 results from an estimated 3 matches for "exc_gp".
Did you mean:
exc_
2008 Mar 17
12
[PATCH]Fix the bug of guest os installation failure and win2k boot failure
Hi, Keir,
This patch is to fix the problem of Linux guest installation failure and Windows 2000 boot failure.
In the early code, we use vmx_vmexit_handler() -> vmx_io_instruction() function to emulate I/O instructions. But now, we use vmx_vmexit_handler() -> handle_mmio -> hvm_emulate_one() -> x86_emulate() to emulate I/O instructions. Also nowadays, the realmode
2011 Nov 30
0
[PATCH 4/4] x86/emulator: cleanup
...7,7 @@ x86_emulate(
case 0x35: /* sysexit */ {
uint64_t msr_content;
struct segment_register cs, ss;
- int user64 = !!(rex_prefix & 8); /* REX.W */
+ bool_t user64 = !!(rex_prefix & REX_W);
int rc;
generate_exception_if(!mode_ring0(), EXC_GP, 0);
@@ -4366,7 +4367,7 @@ x86_emulate(
: "=r" (dst.val), "=q" (zf)
: "r" (src.val) );
_regs.eflags &= ~EFLG_ZF;
- if ( (rep_prefix == REPE_PREFIX) && vcpu_has_bmi1() )
+ if ( (vex.pfx == vex_f3) &&am...
2011 Nov 30
0
[PATCH 2/4] x86/emulator: add emulation of SIMD FP moves
...if ( ea.type == OP_MEM )
+ {
+ /* XXX enable once there is ops->ea() or equivalent
+ generate_exception_if((b >= 0x28) &&
+ (ops->ea(ea.mem.seg, ea.mem.off)
+ & (ea.bytes - 1)), EXC_GP, 0); */
+ if ( !(b & 1) )
+ rc = ops->read(ea.mem.seg, ea.mem.off+0, mmvalp,
+ ea.bytes, ctxt);
+ /* convert memory operand to (%rAX) */
+ rex_prefix &= ~REX_B;
+ vex.b = 1;
+ stub[4] &...