[SVM] Do not update seg.base in realmode while obtaining the io

addr for ins/outs.

Signed-off-by: Tom Woller <thomas.woller@amd.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2006-04-01 10:40:54 +01:00
1 parent 76d1c06d09
commit 75a5d014e3
1 file changed
+1 -5
+1 -5
View File
@@ -1163,16 +1163,12 @@ static unsigned int check_for_null_selector(struct vmcb_struct *vmcb,
seg = vmcb->ds;
break;
default:
if (dir == IOREQ_READ)
if (dir == IOREQ_READ) /* IN/INS instruction? */
seg = vmcb->es;
else
seg = vmcb->ds;
}
/* In real Mode */
if (real)
seg.base = seg.sel << 4;
if (base)
*base = seg.base;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.