Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Remove unnecessary white-spaces.



details:   https://anonhg.NetBSD.org/src/rev/09c024a0bffc
branches:  trunk
changeset: 756049:09c024a0bffc
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Mon Jul 05 06:54:48 2010 +0000

description:
Remove unnecessary white-spaces.

diffstat:

 sys/arch/arm/arm/cpufunc.c |  94 +++++++++++++++++++++++-----------------------
 sys/arch/prep/conf/GENERIC |   8 +-
 2 files changed, 51 insertions(+), 51 deletions(-)

diffs (truncated from 416 to 300 lines):

diff -r 2b56c3970a4b -r 09c024a0bffc sys/arch/arm/arm/cpufunc.c
--- a/sys/arch/arm/arm/cpufunc.c        Mon Jul 05 06:50:01 2010 +0000
+++ b/sys/arch/arm/arm/cpufunc.c        Mon Jul 05 06:54:48 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpufunc.c,v 1.98 2010/07/05 06:50:01 kiyohara Exp $    */
+/*     $NetBSD: cpufunc.c,v 1.99 2010/07/05 06:54:48 kiyohara Exp $    */
 
 /*
  * arm7tdmi support code Copyright (c) 2001 John Fremlin
@@ -49,7 +49,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpufunc.c,v 1.98 2010/07/05 06:50:01 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpufunc.c,v 1.99 2010/07/05 06:54:48 kiyohara Exp $");
 
 #include "opt_compat_netbsd.h"
 #include "opt_cpuoptions.h"
@@ -102,7 +102,7 @@
 #if (ARM_MMU_V6 + ARM_MMU_V7) != 0
 int    arm_cache_prefer_mask;
 #endif
- 
+
 
 int    arm_pcache_type;
 int    arm_pcache_unified;
@@ -116,7 +116,7 @@
 #ifdef CPU_ARM2
 struct cpu_functions arm2_cpufuncs = {
        /* CPU functions */
-       
+
        .cf_id                  = arm2_id,
        .cf_cpwait              = cpufunc_nullop,
 
@@ -157,7 +157,7 @@
 
        /* Soft functions */
 
-       .cf_dataabt_fixup       = early_abort_fixup,    
+       .cf_dataabt_fixup       = early_abort_fixup,
        .cf_prefetchabt_fixup   = cpufunc_null_fixup,
 
        .cf_setup               = (void *)cpufunc_nullop
@@ -168,7 +168,7 @@
 #ifdef CPU_ARM250
 struct cpu_functions arm250_cpufuncs = {
        /* CPU functions */
-       
+
        .cf_id                  = arm250_id,
        .cf_cpwait              = cpufunc_nullop,
 
@@ -220,7 +220,7 @@
 #ifdef CPU_ARM3
 struct cpu_functions arm3_cpufuncs = {
        /* CPU functions */
-       
+
        .cf_id                  = cpufunc_id,
        .cf_cpwait              = cpufunc_nullop,
 
@@ -272,10 +272,10 @@
 #ifdef CPU_ARM6
 struct cpu_functions arm6_cpufuncs = {
        /* CPU functions */
-       
+
        .cf_id                  = cpufunc_id,
        .cf_cpwait              = cpufunc_nullop,
- 
+
        /* MMU functions */
 
        .cf_control             = cpufunc_control,
@@ -334,7 +334,7 @@
 #ifdef CPU_ARM7
 struct cpu_functions arm7_cpufuncs = {
        /* CPU functions */
-       
+
        .cf_id                  = cpufunc_id,
        .cf_cpwait              = cpufunc_nullop,
 
@@ -392,7 +392,7 @@
 #ifdef CPU_ARM7TDMI
 struct cpu_functions arm7tdmi_cpufuncs = {
        /* CPU functions */
-       
+
        .cf_id                  = cpufunc_id,
        .cf_cpwait              = cpufunc_nullop,
 
@@ -450,7 +450,7 @@
 #ifdef CPU_ARM8
 struct cpu_functions arm8_cpufuncs = {
        /* CPU functions */
-       
+
        .cf_id                  = cpufunc_id,
        .cf_cpwait              = cpufunc_nullop,
 
@@ -501,7 +501,7 @@
        .cf_context_switch      = arm8_context_switch,
 
        .cf_setup               = arm8_setup
-};          
+};
 #endif /* CPU_ARM8 */
 
 #ifdef CPU_ARM9
@@ -797,7 +797,7 @@
 #ifdef CPU_SA110
 struct cpu_functions sa110_cpufuncs = {
        /* CPU functions */
-       
+
        .cf_id                  = cpufunc_id,
        .cf_cpwait              = cpufunc_nullop,
 
@@ -848,13 +848,13 @@
        .cf_context_switch      = sa110_context_switch,
 
        .cf_setup               = sa110_setup
-};          
+};
 #endif /* CPU_SA110 */
 
 #if defined(CPU_SA1100) || defined(CPU_SA1110)
 struct cpu_functions sa11x0_cpufuncs = {
        /* CPU functions */
-       
+
        .cf_id                  = cpufunc_id,
        .cf_cpwait              = cpufunc_nullop,
 
@@ -905,13 +905,13 @@
        .cf_context_switch      = sa11x0_context_switch,
 
        .cf_setup               = sa11x0_setup
-};          
+};
 #endif /* CPU_SA1100 || CPU_SA1110 */
 
 #if defined(CPU_FA526)
 struct cpu_functions fa526_cpufuncs = {
        /* CPU functions */
-       
+
        .cf_id                  = cpufunc_id,
        .cf_cpwait              = cpufunc_nullop,
 
@@ -962,13 +962,13 @@
        .cf_context_switch      = fa526_context_switch,
 
        .cf_setup               = fa526_setup
-};          
+};
 #endif /* CPU_FA526 */
 
 #ifdef CPU_IXP12X0
 struct cpu_functions ixp12x0_cpufuncs = {
        /* CPU functions */
-       
+
        .cf_id                  = cpufunc_id,
        .cf_cpwait              = cpufunc_nullop,
 
@@ -1018,15 +1018,15 @@
 
        .cf_context_switch      = ixp12x0_context_switch,
 
-       .cf_setup               = ixp12x0_setup 
-};          
+       .cf_setup               = ixp12x0_setup
+};
 #endif /* CPU_IXP12X0 */
 
 #if defined(CPU_XSCALE_80200) || defined(CPU_XSCALE_80321) || \
     defined(__CPU_XSCALE_PXA2XX) || defined(CPU_XSCALE_IXP425)
 struct cpu_functions xscale_cpufuncs = {
        /* CPU functions */
-       
+
        .cf_id                  = cpufunc_id,
        .cf_cpwait              = xscale_cpwait,
 
@@ -1086,7 +1086,7 @@
        /* CPU functions */
 
        .cf_id                  = cpufunc_id,
-       .cf_cpwait              = cpufunc_nullop,       
+       .cf_cpwait              = cpufunc_nullop,
 
        /* MMU functions */
 
@@ -1114,7 +1114,7 @@
        .cf_dcache_wb_range     = armv7_dcache_wb_range,
        .cf_dcache_wbinv_range  = armv7_dcache_wbinv_range,
 
-       .cf_icache_sync_range   = armv7_icache_sync_range, 
+       .cf_icache_sync_range   = armv7_icache_sync_range,
        .cf_idcache_wbinv_range = armv7_idcache_wbinv_range,
 
 
@@ -1202,7 +1202,7 @@
                goto out;
 
 #if (ARM_MMU_V6 + ARM_MMU_V7) > 0
-       if (CPU_CT_FORMAT(ctype) == 4) { 
+       if (CPU_CT_FORMAT(ctype) == 4) {
                u_int csid0, csid1, csid2;
 
                isize = 1U << (CPU_CT4_ILINE(ctype) + 2);
@@ -1434,7 +1434,7 @@
                pmap_pte_init_generic();
                return 0;
        }
-#endif 
+#endif
 #ifdef CPU_ARM8
        if ((cputype & CPU_ID_IMPLEMENTOR_MASK) == CPU_ID_ARM_LTD &&
            (cputype & 0x0000f000) == 0x00008000) {
@@ -1453,7 +1453,7 @@
                cpu_reset_needs_v4_MMU_disable = 1;     /* V4 or higher */
                get_cachetype_cp15();
                arm9_dcache_sets_inc = 1U << arm_dcache_l2_linesize;
-               arm9_dcache_sets_max = 
+               arm9_dcache_sets_max =
                    (1U << (arm_dcache_l2_linesize + arm_dcache_l2_nsets)) -
                    arm9_dcache_sets_inc;
                arm9_dcache_index_inc = 1U << (32 - arm_dcache_l2_assoc);
@@ -1487,7 +1487,7 @@
                cpu_reset_needs_v4_MMU_disable = 1;     /* V4 or higher */
                get_cachetype_cp15();
                armv5_dcache_sets_inc = 1U << arm_dcache_l2_linesize;
-               armv5_dcache_sets_max = 
+               armv5_dcache_sets_max =
                    (1U << (arm_dcache_l2_linesize + arm_dcache_l2_nsets)) -
                    armv5_dcache_sets_inc;
                armv5_dcache_index_inc = 1U << (32 - arm_dcache_l2_assoc);
@@ -1830,7 +1830,7 @@
                int loop;
                int count;
                int *registers = &frame->tf_r0;
-        
+
                DFC_PRINTF(("LDM/STM\n"));
                DFC_DISASSEMBLE(fault_pc);
                if (fault_instruction & (1 << 21)) {
@@ -1859,7 +1859,7 @@
                int base;
                int offset;
                int *registers = &frame->tf_r0;
-       
+
                /* REGISTER CORRECTION IS REQUIRED FOR THESE INSTRUCTIONS */
 
                DFC_DISASSEMBLE(fault_pc);
@@ -1980,11 +1980,11 @@
                int *registers = &frame->tf_r0;
 
                DFC_DISASSEMBLE(fault_pc);
-               
+
                /* This is for late abort only */
 
                if ((fault_instruction & (1 << 24)) == 0
-                   || (fault_instruction & (1 << 21)) != 0) {  
+                   || (fault_instruction & (1 << 21)) != 0) {
                        /* postindexed ldr/str with no writeback */
 
                        base = (fault_instruction >> 16) & 0x0f;
@@ -2010,7 +2010,7 @@
                                offset = fault_instruction & 0x0f;
                                if (offset == base)
                                        return ABORT_FIXUP_FAILED;
-                
+
                                /*
                                 * Register offset - hard we have to
                                 * cope with shifts !
@@ -2371,7 +2371,7 @@
                clocktest |= (integer & 7) << 5;
                setclock = 1;
        }
-       
+
        /* Clear out the cache */
        cpu_idcache_wbinv_all();
 
@@ -2379,7 +2379,7 @@
        curcpu()->ci_ctrl = cpuctrl;
        cpu_control(0xffffffff, cpuctrl);
 
-       /* Set the clock/test register */    
+       /* Set the clock/test register */
        if (setclock)
                arm8_clock_config(0x7f, clocktest);



Home | Main Index | Thread Index | Old Index