ia64/xen-unstable

changeset 11040:92c62a897c82

[IA64] xenasm.S 80-column reformatting

Minor reformatting (and fix a couple of typos) in xenasm.S so that
it is readable in 80-column displays, in accordance with Linux coding
style.

Signed-off-by: Al Stone <ahs3@fc.hp.com>
author awilliam@xenbuild.aw
date Wed Aug 16 09:13:03 2006 -0600 (2006-08-16)
parents bef360142b62
children 29ef650eb22a
files xen/arch/ia64/xen/xenasm.S
line diff
     1.1 --- a/xen/arch/ia64/xen/xenasm.S	Mon Aug 14 14:21:21 2006 -0600
     1.2 +++ b/xen/arch/ia64/xen/xenasm.S	Wed Aug 16 09:13:03 2006 -0600
     1.3 @@ -31,7 +31,7 @@
     1.4  //  loc0=rp, loc1=ar.pfs, loc2=percpu_paddr, loc3=psr, loc4=ar.rse
     1.5  //  loc5=pal_vaddr, loc6=xen_paddr, loc7=shared_archinfo_paddr,
     1.6  GLOBAL_ENTRY(ia64_new_rr7)
     1.7 -	// not sure this unwind statement is correct...
     1.8 +	// FIXME? not sure this unwind statement is correct...
     1.9  	.prologue ASM_UNW_PRLG_RP|ASM_UNW_PRLG_PFS, ASM_UNW_PRLG_GRSAVE(1)
    1.10  	alloc loc1 = ar.pfs, 5, 8, 0, 0
    1.11  	movl loc2=PERCPU_ADDR
    1.12 @@ -162,7 +162,7 @@ 1:
    1.13  	dep r25=0,loc5,60,4		// convert pal vaddr to paddr
    1.14  	;;
    1.15  	ptr.i	loc5,r23
    1.16 -	or r25=r25,r26		// construct PA | page properties
    1.17 +	or r25=r25,r26			// construct PA | page properties
    1.18  	mov cr.itir=r23
    1.19  	mov cr.ifa=loc5
    1.20  	;;
    1.21 @@ -191,10 +191,10 @@ GLOBAL_ENTRY(ia64_prepare_handle_privop)
    1.22  	 */
    1.23  	mov r16=r0
    1.24  	DO_SAVE_SWITCH_STACK
    1.25 -	br.call.sptk.many rp=ia64_handle_privop		// stack frame setup in ivt
    1.26 +	br.call.sptk.many rp=ia64_handle_privop	// stack frame setup in ivt
    1.27  .ret22:	.body
    1.28  	DO_LOAD_SWITCH_STACK
    1.29 -	br.cond.sptk.many rp				// goes to ia64_leave_kernel
    1.30 +	br.cond.sptk.many rp			// goes to ia64_leave_kernel
    1.31  END(ia64_prepare_handle_privop)
    1.32  
    1.33  GLOBAL_ENTRY(ia64_prepare_handle_break)
    1.34 @@ -217,7 +217,7 @@ GLOBAL_ENTRY(ia64_prepare_handle_reflect
    1.35  	 */
    1.36  	mov r16=r0
    1.37  	DO_SAVE_SWITCH_STACK
    1.38 -	br.call.sptk.many rp=ia64_handle_reflection	// stack frame setup in ivt
    1.39 +	br.call.sptk.many rp=ia64_handle_reflection // stack frame setup in ivt
    1.40  .ret24:	.body
    1.41  	DO_LOAD_SWITCH_STACK
    1.42  	br.cond.sptk.many rp			// goes to ia64_leave_kernel
    1.43 @@ -301,7 +301,7 @@ 1:	cmp.eq p7,p8=1,r32		/* PAL_CACHE_FLUS
    1.44  (p8)	br.cond.sptk.few 1f
    1.45  #if 0
    1.46  	mov r9=ar.lc
    1.47 -	movl r8=524288			/* flush 512k million cache lines (16MB) */
    1.48 +	movl r8=524288		/* flush 512k million cache lines (16MB) */
    1.49  	;;
    1.50  	mov ar.lc=r8
    1.51  	movl r8=0xe000000000000000
    1.52 @@ -319,7 +319,9 @@ 1:	cmp.eq p7,p8=1,r32		/* PAL_CACHE_FLUS
    1.53  1:	cmp.eq p7,p8=15,r32		/* PAL_PERF_MON_INFO */
    1.54  (p8)	br.cond.sptk.few 1f
    1.55  	mov r8=0			/* status = 0 */
    1.56 -	movl r9 =0x08122f04		/* generic=4 width=47 retired=8 cycles=18 */
    1.57 +	movl r9 =0x08122f04		/* generic=4 width=47 retired=8 
    1.58 +					 * cycles=18
    1.59 +					 */
    1.60  	mov r10=0			/* reserved */
    1.61  	mov r11=0			/* reserved */
    1.62  	mov r16=0xffff			/* implemented PMC */
    1.63 @@ -361,8 +363,8 @@ stacked:
    1.64  END(pal_emulator_static)
    1.65  
    1.66  //  These instructions are copied in the domains.
    1.67 -//  This is the virtual PAL, which simply does an hypercall.
    1.68 -//  The size is 2 bunldes (32 Bytes).  It handles both static and stacked
    1.69 +//  This is the virtual PAL, which simply does a hypercall.
    1.70 +//  The size is 2 bundles (32 Bytes).  It handles both static and stacked
    1.71  //    convention.
    1.72  //  If you modify this code, you have to modify dom_fw.h (for the size) and
    1.73  //   dom_fw_pal_hypercall_patch.
    1.74 @@ -376,7 +378,7 @@ GLOBAL_ENTRY(pal_call_stub)
    1.75  	}
    1.76  	{
    1.77  	 .mbb
    1.78 -	break 0x1000	//  Hypercall vector (Value is patched).
    1.79 +	break 0x1000		//  Hypercall vector (Value is patched).
    1.80  (p7)	br.cond.sptk.few rp
    1.81  (p8)	br.ret.sptk.few rp
    1.82  	}