# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 6e3841e5ef8ffd65b5fe3492213ad88e645efa91
# Parent f2aff4e4236c57933ca9a8c632ef6a0cee15e564
[IA64] VTi: add pseudo support of long format VHPT
Pseudo support of VHPT long format.
Signed-off-by: Tristan Gingold <tristan.gingold@xxxxxxxx>
diff -r f2aff4e4236c -r 6e3841e5ef8f xen/arch/ia64/vmx/vmmu.c
--- a/xen/arch/ia64/vmx/vmmu.c Thu Apr 13 13:46:50 2006 -0600
+++ b/xen/arch/ia64/vmx/vmmu.c Thu Apr 13 14:08:30 2006 -0600
@@ -523,8 +523,8 @@ IA64FAULT vmx_vcpu_thash(VCPU *vcpu, UIN
vmx_vcpu_get_pta(vcpu, &vpta.val);
vcpu_get_rr(vcpu, vadr, &vrr.rrval);
if(vpta.vf){
- panic("THASH,Don't support long format VHPT");
*pval = ia64_call_vsa(PAL_VPS_THASH,vadr,vrr.rrval,vpta.val,0,0,0,0);
+ *pval = vpta.val & ~0xffff;
}else{
vhpt_offset=((vadr>>vrr.ps)<<3)&((1UL<<(vpta.size))-1);
*pval = (vadr&VRN_MASK)|
@@ -542,7 +542,6 @@ IA64FAULT vmx_vcpu_ttag(VCPU *vcpu, UINT
vmx_vcpu_get_pta(vcpu, &vpta.val);
vcpu_get_rr(vcpu, vadr, &vrr.rrval);
if(vpta.vf){
- panic("THASH,Don't support long format VHPT");
*pval = ia64_call_vsa(PAL_VPS_TTAG,vadr,vrr.rrval,0,0,0,0,0);
}else{
*pval = 1;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|