Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm Trailing whitespace



details:   https://anonhg.NetBSD.org/src/rev/cffcfabedd1b
branches:  trunk
changeset: 946195:cffcfabedd1b
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Nov 21 09:36:26 2020 +0000

description:
Trailing whitespace

diffstat:

 sys/arch/arm/iomd/iomd_irq.S     |  16 ++++++++--------
 sys/arch/arm/ofw/ofw_irq.S       |  26 +++++++++++++-------------
 sys/arch/arm/sa11x0/sa11x0_irq.S |   4 ++--
 3 files changed, 23 insertions(+), 23 deletions(-)

diffs (188 lines):

diff -r fb992d6b959a -r cffcfabedd1b sys/arch/arm/iomd/iomd_irq.S
--- a/sys/arch/arm/iomd/iomd_irq.S      Sat Nov 21 09:24:02 2020 +0000
+++ b/sys/arch/arm/iomd/iomd_irq.S      Sat Nov 21 09:36:26 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iomd_irq.S,v 1.16 2013/12/02 18:36:10 joerg Exp $      */
+/*     $NetBSD: iomd_irq.S,v 1.17 2020/11/21 09:36:26 skrll Exp $      */
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -199,7 +199,7 @@
        mvn     r2, r2
        orr     r0, r0, r2
 
-       str     r0, [r1]        
+       str     r0, [r1]
 
        ldr     r0, [r4, #CI_CPL]
        str     r9, [r4, #CI_CPL]
@@ -214,7 +214,7 @@
 
        ldr     r7, Lirqhandlers
 
-       /* 
+       /*
         * take a copy of the IRQ request so that we can strip bits out of it
         * note that we only use 24 bits with iomd2 chips
         */
@@ -229,7 +229,7 @@
        rsb     r5, r11, #0
        ands    r10, r11, r5
 
-       /* 
+       /*
         * now r10 has at most 1 set bit, call this X
         * if X = 0, branch to exit code
         */
@@ -252,7 +252,7 @@
        /* fetch the bit number */
        ldrb    r9, [r5, r9, lsr #26 ]
 
-       /* 
+       /*
         * r9 = irq to service
         */
 
@@ -271,7 +271,7 @@
        moveq   r0, r8                  /* IRQ requests as arg 0 */
        adreq   lr, nextirq             /* return Address */
        beq     _C_LABEL(stray_irqhandler) /* call special handler */
-       
+
        /* stat info C */
        ldr     r1, [r4, #(CI_CC_NINTR)] /* Stat info B */
        ldr     r2, [r4, #(CI_CC_NINTR+4)]
@@ -305,9 +305,9 @@
        ldr     pc, [r6, #(IH_FUNC)]    /* Call handler */
 
        ldr     r6, [r6, #(IH_NEXT)]    /* fetch next handler */
-       
+
        teq     r0, #0x00000001         /* Was the irq serviced ? */
-       
+
        /* if it was it'll just fall through this: */
        teqne   r6, #0x00000000
        bne     irqchainloop
diff -r fb992d6b959a -r cffcfabedd1b sys/arch/arm/ofw/ofw_irq.S
--- a/sys/arch/arm/ofw/ofw_irq.S        Sat Nov 21 09:24:02 2020 +0000
+++ b/sys/arch/arm/ofw/ofw_irq.S        Sat Nov 21 09:36:26 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ofw_irq.S,v 1.15 2013/12/02 18:36:10 joerg Exp $       */
+/*     $NetBSD: ofw_irq.S,v 1.16 2020/11/21 09:36:27 skrll Exp $       */
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -56,11 +56,11 @@
  *
  * This function is called only on timer ticks, passed on to the
  * kernel from the OFW tick handler.
- * 
+ *
  * For now, I am trying to re-use as much of the code from the
  * IOMD interrupt-handler as possible.  In time, I will strip this
  * down to something OFW-specific.
- * 
+ *
  * Here's the original, IOMD-specific description:
  * This function reads the irq request bits in the IOMD registers
  * IRQRQA, IRQRQB and DMARQ
@@ -106,21 +106,21 @@
 ASENTRY_NP(irq_entry)
        /*
         *  We come here following an OFW-handled timer tick.
-        *  
+        *
         *  We are in the SVC frame, and interrupts are disabled.
         *  The state of the interrupted context is partially in
         *  the registers and partially in the global storage area
         *  labeled ofw_ticktmp.  ofw_ticktmp is filled-in by the
         *  tick callback that is invoked by OFW on the way out of
         *  its interrupt handler.  ofw_ticktmp contains the following:
-        *  
+        *
         *      pc                      // interrupted instruction
         *      lr_usr
         *      sp_usr
         *      r1                      // makes r1 available for scratch
         *      r0                      // makes r0 available for scratch
         *      spsr_svc                // cpsr of interrupted context
-        *  
+        *
         *  The prologue of this routine must re-construct the
         *  machine state that existed at the time OFW's interrupt-
         *  handler fielded the interrupt.  That allows us to use
@@ -177,7 +177,7 @@
        PULLFRAMEFROMSVCANDEXIT
        movs    pc, lr                  /* Exit */
 
-       /*  
+       /*
         *  Stuff a bit-mask into r8 indicating which interrupts
         *  are pending.  In our case, that is just the timer0
         *  interrupt:  (1 << TIMER0).  The existing code will take
@@ -238,7 +238,7 @@
        mvn     r2, r2
        orr     r0, r0, r2
 
-       str     r0, [r1]        
+       str     r0, [r1]
 
        ldr     r0, Lcurrent_spl_level
        ldr     r1, [r4, #CI_CPL]
@@ -348,7 +348,7 @@
        .text
        .global _C_LABEL(dotickgrovelling)
 
-/* 
+/*
  *  Do magic to cause OFW to call our irq_entry
  *  routine when it returns from its tick-handling.
  *
@@ -362,16 +362,16 @@
  *
  *  r0 - base of saved OFW interrupt frame, which
  *       has the following format:
- *  
+ *
  *         pc                  // interrupted instruction
  *         lr                  // lr of interrupted context
  *         sp                  // sp of interrupted context
  *         r12
  *         ...         // non-banked register values
- *         ...         //   of interrupted context        
+ *         ...         //   of interrupted context
  *         r0
  *         spsr                // psr of interrupted context
- *  
+ *
  */
 
 _C_LABEL(dotickgrovelling):
@@ -463,7 +463,7 @@
 
        ldmfd   sp!, {r1-r5}
        mov     pc, lr
-       
+
 
        .bss
        .align 0
diff -r fb992d6b959a -r cffcfabedd1b sys/arch/arm/sa11x0/sa11x0_irq.S
--- a/sys/arch/arm/sa11x0/sa11x0_irq.S  Sat Nov 21 09:24:02 2020 +0000
+++ b/sys/arch/arm/sa11x0/sa11x0_irq.S  Sat Nov 21 09:36:26 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sa11x0_irq.S,v 1.18 2013/12/02 18:36:11 joerg Exp $    */
+/*     $NetBSD: sa11x0_irq.S,v 1.19 2020/11/21 09:36:27 skrll Exp $    */
 
 /*
  * Copyright (c) 1998 Mark Brinicombe.
@@ -291,7 +291,7 @@
 #ifdef IRQSTATS
        .global _C_LABEL(intrnames), _C_LABEL(eintrnames)
        .global _C_LABEL(eintrcnt)
-_C_LABEL(intrnames): 
+_C_LABEL(intrnames):
 _C_LABEL(eintrnames):
 _C_LABEL(eintrcnt):
 



Home | Main Index | Thread Index | Old Index