WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [IA64] Get rid of dcr bit 63 trick.

# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID cdecdd55f0d32f91d418840740adab6b798e6131
# Parent  299f048c4855014f7a3514e58f24768974f44e85
[IA64] Get rid of dcr bit 63 trick.

(Use ar.rsc.pl instead).

Signed-off-by: Tristan Gingold <tristan.gingold@xxxxxxxx>
---
 linux-2.6-xen-sparse/arch/ia64/xen/xensetup.S |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff -r 299f048c4855 -r cdecdd55f0d3 
linux-2.6-xen-sparse/arch/ia64/xen/xensetup.S
--- a/linux-2.6-xen-sparse/arch/ia64/xen/xensetup.S     Mon May 15 13:42:18 
2006 -0600
+++ b/linux-2.6-xen-sparse/arch/ia64/xen/xensetup.S     Mon May 15 14:12:07 
2006 -0600
@@ -18,12 +18,13 @@ running_on_xen:
 
        .text
 GLOBAL_ENTRY(early_xen_setup)
-       mov r8=cr.dcr
+       mov r8=ar.rsc           // Initialized in head.S
 (isBP) movl r9=running_on_xen;;
-       extr.u r8=r8,63,1;;
-       cmp.ne p7,p0=r8,r0;;
+       extr.u r8=r8,2,2;;      // Extract pl fields
+       cmp.ne p7,p0=r8,r0;;    // p7: running on xen 
+(p7)   mov r8=1                // booleanize.
+(p7)   movl r10=xen_ivt;;
 (isBP) st4 [r9]=r8
-(p7)   movl r10=xen_ivt;;
 (p7)   mov cr.iva=r10
        br.ret.sptk.many rp;;
 END(early_xen_setup)

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [IA64] Get rid of dcr bit 63 trick., Xen patchbot-unstable <=