# HG changeset patch
# User yamahata@xxxxxxxxxxxxx
# Date 1197967035 -32400
# Node ID 425cd56ef7a955c593cc70c1ea5755c0b72e97b2
# Parent 36157b55e141ab4f9bd3134bdcddd38c1f126666
fix vmx_switch_rr7(). uninitialized register r3 was used. initialize it.
PATCHNAME: fix_vmx_switch_rr7_initialize_r3
Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
diff -r 36157b55e141 -r 425cd56ef7a9 xen/arch/ia64/vmx/vmx_entry.S
--- a/xen/arch/ia64/vmx/vmx_entry.S Tue Dec 18 17:37:14 2007 +0900
+++ b/xen/arch/ia64/vmx/vmx_entry.S Tue Dec 18 17:37:15 2007 +0900
@@ -634,7 +634,7 @@ 1:{
movl loc2=PERCPU_ADDR
;;
tpa loc2 = loc2 // get physical address of per cpu date
- ;;
+ tpa r3 = r8 // get physical address of ip
dep loc5 = 0,in1,60,4 // get physical address of guest_vhpt
dep loc6 = 0,in2,60,4 // get physical address of pal code
;;
@@ -671,9 +671,7 @@ 1:
mov cr.itir=r18
mov cr.ifa=r17
mov r16=IA64_TR_KERNEL
- //mov r3=ip
movl r25 = PAGE_KERNEL
- ;;
dep r2=0,r3,0,KERNEL_TR_PAGE_SHIFT
;;
or r24=r2,r25
16635_425cd56ef7a9_fix_vmx_switch_rr7_initialize_r3.patch
Description: Text Data
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|