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

[Xen-changelog] [xen-unstable] [IA64] Fix usage of 14 bit immediate value of IA64_RBS_OFFSET



# HG changeset patch
# User awilliam@xxxxxxxxxxxx
# Date 1170614485 25200
# Node ID 339d9e632a80dbc6969483080c7497769bb9c6ff
# Parent  5558f396e068d83b77fee06fee71fc19f2e5377e
[IA64] Fix usage of 14 bit immediate value of IA64_RBS_OFFSET

Limit is exceeded w/ 16k page size

Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>
---
 xen/arch/ia64/vmx/vmx_entry.S |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff -r 5558f396e068 -r 339d9e632a80 xen/arch/ia64/vmx/vmx_entry.S
--- a/xen/arch/ia64/vmx/vmx_entry.S     Sun Feb 04 11:37:48 2007 -0700
+++ b/xen/arch/ia64/vmx/vmx_entry.S     Sun Feb 04 11:41:25 2007 -0700
@@ -575,12 +575,14 @@ GLOBAL_ENTRY(ia64_leave_hypercall)
 
 //  srlz.d                             // M0   ensure interruption collection 
is off (for cover)
 //  shr.u r18=r19,16           // I0|1 get byte size of existing "dirty" 
partition
+    mov r3=r21
     cover                              // B    add current frame into dirty 
partition & set cr.ifs
     ;;
 //(pUStk) ld4 r17=[r17]                        // M0|1 r17 = 
cpu_data->phys_stacked_size_p8
     mov r19=ar.bsp                     // M2   get new backing store pointer
-    adds r18=IA64_RBS_OFFSET, r21
-    ;;
+    adds r18=IA64_RBS_OFFSET, r3
+    ;;
+    mov r3=r0
     sub r18=r19,r18     // get byte size of existing "dirty" partition
     ;;
     shl r20=r18,16     // set rsc.load 

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


 


Rackspace

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