[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-ia64-devel] [PATCH 2/12]MCA handler support for Xen/ia64 TAKE 2



On Fri, 2006-09-22 at 19:32 +0900, SUZUKI Kazuhiro wrote:
> [2/12]  Add percpu data physical addr mca_asm.S [mca-mca_asm.patch]
> 

> @@ -221,6 +275,17 @@ 4:
>       ;;
>       srlz.i
>       ;;
> +     // 5. VHPT
> +#if VHPT_ENABLED
> +     mov r24=VHPT_SIZE_LOG2<<2
> +     movl r22=VHPT_ADDR
> +     mov r21=IA64_TR_VHPT
> +     ;;
> +     ptr.d   r22,r24
> +     ;;
> +     srlz.d
> +     ;;
> +#endif

   Does this need to be inside a #ifdef XEN?  

> @@ -342,6 +422,26 @@ ia64_reload_tr:
>       ;;
>       srlz.d
>       ;;
> +     // 5. VHPT
> +#if VHPT_ENABLED
> +     mov r24=VHPT_SIZE_LOG2<<2
> +     movl r22=VHPT_ADDR
> +     mov r21=IA64_TR_VHPT
> +     movl r26=PAGE_KERNEL
> +     ;;
> +     GET_THIS_PADDR(r2, vhpt_paddr)
> +     ;; 
> +     ld8 r18=[r2]
> +     ;; 
> +     or r23=r18,r26                  // construct PA | page properties
> +     mov cr.itir=r24
> +     mov cr.ifa=r22
> +     ;;
> +     itr.d dtr[r21]=r23              // wire in new mapping...
> +     ;;
> +     srlz.d
> +     ;;
> +#endif

   Same question on this one.  Thanks,

        Alex

-- 
Alex Williamson                             HP Open Source & Linux Org.


_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.