debuggers.hg

view xen/arch/ia64/patch/linux-2.6.11/pal.S @ 4615:58efb3448933

bitkeeper revision 1.1327.1.1 (426536d2PUqtjTi2v06bzD10RFwarg)

Merge bk://xen.bkbits.net/xeno-unstable.bk
into bkbits.net:/repos/x/xen-ia64/xeno-unstable-ia64.bk
author xen-ia64.adm@bkbits.net
date Tue Apr 19 16:50:26 2005 +0000 (2005-04-19)
parents f1c946e1226a
children 5b9e241131fb
line source
1 pal.S | 8 ++++++++
2 1 files changed, 8 insertions(+)
4 Index: linux-2.6.11-xendiffs/arch/ia64/kernel/pal.S
5 ===================================================================
6 --- linux-2.6.11-xendiffs.orig/arch/ia64/kernel/pal.S 2005-03-02 01:38:33.000000000 -0600
7 +++ linux-2.6.11-xendiffs/arch/ia64/kernel/pal.S 2005-04-06 22:43:53.817885390 -0500
8 @@ -166,7 +166,11 @@ GLOBAL_ENTRY(ia64_pal_call_phys_static)
9 adds r8 = 1f-1b,r8 // calculate return address for call
10 ;;
11 mov loc4=ar.rsc // save RSE configuration
12 +#ifdef XEN
13 + dep.z loc2=loc2,0,60 // convert pal entry point to physical
14 +#else // XEN
15 dep.z loc2=loc2,0,61 // convert pal entry point to physical
16 +#endif // XEN
17 tpa r8=r8 // convert rp to physical
18 ;;
19 mov b7 = loc2 // install target to branch reg
20 @@ -225,7 +229,11 @@ GLOBAL_ENTRY(ia64_pal_call_phys_stacked)
21 mov loc3 = psr // save psr
22 ;;
23 mov loc4=ar.rsc // save RSE configuration
24 +#ifdef XEN
25 + dep.z loc2=loc2,0,60 // convert pal entry point to physical
26 +#else // XEN
27 dep.z loc2=loc2,0,61 // convert pal entry point to physical
28 +#endif // XEN
29 ;;
30 mov ar.rsc=0 // put RSE in enforced lazy, LE mode
31 movl r16=PAL_PSR_BITS_TO_CLEAR