# HG changeset patch
# User djm@xxxxxxxxxxxxxxx
# Node ID 55aaa12a542abae9e77a1110322255d86a156631
# Parent 854cfcbef774484104a72ee105061a00250fd9b6
Fix ar.unat save/restore for fast rfi (by Anthony Xu)
diff -r 854cfcbef774 -r 55aaa12a542a xen/arch/ia64/xen/hyperprivop.S
--- a/xen/arch/ia64/xen/hyperprivop.S Wed Nov 2 17:45:49 2005
+++ b/xen/arch/ia64/xen/hyperprivop.S Thu Nov 3 13:14:09 2005
@@ -807,6 +807,7 @@
// OK, now all set to go except for switch to virtual bank1
mov r22=1;; st4 [r20]=r22;
mov r30=r2; mov r29=r3;;
+ mov r17=ar.unat;;
adds r16=XSI_B1NATS_OFS-XSI_PSR_IC_OFS,r18
adds r2=XSI_BANK1_OFS-XSI_PSR_IC_OFS,r18;
adds r3=(XSI_BANK1_OFS+8)-XSI_PSR_IC_OFS,r18;;
@@ -832,6 +833,7 @@
.mem.offset 8,0; ld8.fill r30=[r2],16 ;
.mem.offset 8,0; ld8.fill r31=[r3],16 ;;
bsw.0 ;;
+ mov ar.unat=r17;;
mov r2=r30; mov r3=r29;;
1: mov pr=r31,-1
;;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|