|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Fix stupid switch stmt mess-up that broke emulation
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID d332d4df452ecf6c3aaeab73c79e1e6ce751b61d
# Parent f261f14b9781f949f95a328433eff187c677a70b
Fix stupid switch stmt mess-up that broke emulation
of move to/from debug register.
diff -r f261f14b9781 -r d332d4df452e xen/arch/x86/traps.c
--- a/xen/arch/x86/traps.c Mon Jul 11 09:14:11 2005
+++ b/xen/arch/x86/traps.c Mon Jul 11 09:22:15 2005
@@ -843,6 +843,11 @@
UNLOCK_BIGLOCK(v->domain);
break;
+ default:
+ goto fail;
+ }
+ break;
+
case 0x23: /* MOV <reg>,DR? */
opcode = insn_fetch(u8, 1, eip);
modrm_reg |= (opcode >> 3) & 7;
@@ -850,11 +855,6 @@
reg = decode_register(modrm_rm, regs, 0);
if ( do_set_debugreg(modrm_reg, *reg) != 0 )
goto fail;
- break;
-
- default:
- goto fail;
- }
break;
case 0x30: /* WRMSR */
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Fix stupid switch stmt mess-up that broke emulation,
Xen patchbot -unstable <=
|
|
|
|
|