ia64/xen-unstable

changeset 13779:339d9e632a80

[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@intel.com>
author awilliam@xenbuild2.aw
date Sun Feb 04 11:41:25 2007 -0700 (2007-02-04)
parents 5558f396e068
children 88c9ba6214bc
files xen/arch/ia64/vmx/vmx_entry.S
line diff
     1.1 --- a/xen/arch/ia64/vmx/vmx_entry.S	Sun Feb 04 11:37:48 2007 -0700
     1.2 +++ b/xen/arch/ia64/vmx/vmx_entry.S	Sun Feb 04 11:41:25 2007 -0700
     1.3 @@ -575,12 +575,14 @@ GLOBAL_ENTRY(ia64_leave_hypercall)
     1.4  
     1.5  //  srlz.d				// M0   ensure interruption collection is off (for cover)
     1.6  //  shr.u r18=r19,16		// I0|1 get byte size of existing "dirty" partition
     1.7 +    mov r3=r21
     1.8      cover				// B    add current frame into dirty partition & set cr.ifs
     1.9      ;;
    1.10  //(pUStk) ld4 r17=[r17]			// M0|1 r17 = cpu_data->phys_stacked_size_p8
    1.11      mov r19=ar.bsp			// M2   get new backing store pointer
    1.12 -    adds r18=IA64_RBS_OFFSET, r21
    1.13 +    adds r18=IA64_RBS_OFFSET, r3
    1.14      ;;
    1.15 +    mov r3=r0
    1.16      sub r18=r19,r18     // get byte size of existing "dirty" partition
    1.17      ;;
    1.18      shl r20=r18,16     // set rsc.load