[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-ia64-devel] A patch to remove dcr.63 for running_on_xen indicator
Dan: The attached patch is target to remove dcr.63 bit usage to indicate running_on_xen or not, thus avoid future IPF spec violation (reserve bits should be 0 base on spec). Please comments. BTW, currnet XENLinux tree (yesterday) can't run on native environment for some reason. So I only test that on XEN environment. Eddie diff -r 84356b86adf0 arch/ia64/xen/xensetup.S --- a/arch/ia64/xen/xensetup.S Fri Aug 12 21:15:45 2005 +++ b/arch/ia64/xen/xensetup.S Mon Aug 15 18:44:21 2005 @@ -16,12 +16,17 @@ .text GLOBAL_ENTRY(early_xen_setup) - mov r8=cr.dcr;; - extr.u r8=r8,63,1 + rsm psr.ic + movl r9=XSI_BASE;; + ld8.s r8=[r9];; + tnat.nz.unc p6,p7=r8 // p6=1: No share memory +(p6) mov r8=0 +(p7) mov r8=1 // on XEN movl r9=running_on_xen;; st4 [r9]=r8;; - cmp.ne p7,p0=r8,r0;; (p7) movl r10=xen_ivt;; (p7) mov cr.iva=r10 + ssm psr.ic + srlz.d br.ret.sptk.many rp;; END(xen_init) Attachment:
running_on_xen_det.patch.xeno Attachment:
running_on_xen_det.patch.hv _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ia64-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |