Changeset 1b20da0 in mainline for kernel/arch/mips32


Ignore:
Timestamp:
2018-02-28T17:52:03Z (8 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3061bc1
Parents:
df6ded8
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:26:03)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:52:03)
Message:

style: Remove trailing whitespace on non-empty lines, in certain file types.

Command used: tools/srepl '\([^[:space:]]\)\s\+$' '\1' -- *.c *.h *.py *.sh *.s *.S *.ag

Location:
kernel/arch/mips32
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/include/arch/cache.h

    rdf6ded8 r1b20da0  
    2727 */
    2828
    29 /** @addtogroup mips32 
     29/** @addtogroup mips32
    3030 * @{
    3131 */
  • kernel/arch/mips32/include/arch/context_struct.ag

    rdf6ded8 r1b20da0  
    1 # Copyright (c) 2014 Jakub Jermar 
     1# Copyright (c) 2014 Jakub Jermar
    22# All rights reserved.
    33#
  • kernel/arch/mips32/include/arch/fpu_context.h

    rdf6ded8 r1b20da0  
    2727 */
    2828
    29 /** @addtogroup mips32 
     29/** @addtogroup mips32
    3030 * @{
    3131 */
  • kernel/arch/mips32/include/arch/fpu_context_struct.ag

    rdf6ded8 r1b20da0  
    1 # Copyright (c) 2014 Jakub Jermar 
     1# Copyright (c) 2014 Jakub Jermar
    22# All rights reserved.
    33#
  • kernel/arch/mips32/include/arch/istate_struct.ag

    rdf6ded8 r1b20da0  
    1 # Copyright (c) 2014 Jakub Jermar 
     1# Copyright (c) 2014 Jakub Jermar
    22# All rights reserved.
    33#
  • kernel/arch/mips32/include/arch/mach/malta/malta.h

    rdf6ded8 r1b20da0  
    11/*
    2  * Copyright (c) 2013 Jakub Jermar 
     2 * Copyright (c) 2013 Jakub Jermar
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup mips32 
     29/** @addtogroup mips32
    3030 * @{
    3131 */
  • kernel/arch/mips32/include/arch/mach/msim/msim.h

    rdf6ded8 r1b20da0  
    11/*
    2  * Copyright (c) 2013 Jakub Jermar 
     2 * Copyright (c) 2013 Jakub Jermar
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup mips32 
     29/** @addtogroup mips32
    3030 * @{
    3131 */
  • kernel/arch/mips32/include/arch/mm/asid.h

    rdf6ded8 r1b20da0  
    2727 */
    2828
    29 /** @addtogroup mips32mm       
     29/** @addtogroup mips32mm
    3030 * @{
    3131 */
  • kernel/arch/mips32/include/arch/mm/page.h

    rdf6ded8 r1b20da0  
    5252/*
    5353 * Implementation of generic 4-level page table interface.
    54  * 
     54 *
    5555 * Page table layout:
    5656 * - 32-bit virtual addresses
  • kernel/arch/mips32/include/arch/mm/tlb.h

    rdf6ded8 r1b20da0  
    5252#endif
    5353
    54 #define TLB_WIRED               0 
     54#define TLB_WIRED               0
    5555
    5656#define TLB_PAGE_MASK_4K    (0x000 << 13)
  • kernel/arch/mips32/src/cpu/cpu.c

    rdf6ded8 r1b20da0  
    125125
    126126        printf("cpu%u: %s %s (rev=%d.%d, imp=%d)\n",
    127                 m->id, data->vendor, data->model, m->arch.rev_num >> 4, 
     127                m->id, data->vendor, data->model, m->arch.rev_num >> 4,
    128128                m->arch.rev_num & 0x0f, m->arch.imp_num);
    129129}
  • kernel/arch/mips32/src/debug/stacktrace.c

    rdf6ded8 r1b20da0  
    3636 * This stack tracing code is based on the suggested algorithm described on page
    3737 * 3-27 and 3-28 of:
    38  * 
     38 *
    3939 * SYSTEM V
    4040 * APPLICATION BINARY INTERFACE
     
    8888#define BASE_MASK       RS_MASK
    8989#define IMM_MASK        (0xffff << IMM_SHIFT)
    90 #define OFFSET_MASK     IMM_MASK       
     90#define OFFSET_MASK     IMM_MASK
    9191
    9292#define RS_GET(inst)            (((inst) & RS_MASK) >> RS_SHIFT)
     
    9494#define IMM_GET(inst)           (int16_t)(((inst) & IMM_MASK) >> IMM_SHIFT)
    9595#define BASE_GET(inst)          RS_GET(inst)
    96 #define OFFSET_GET(inst)        IMM_GET(inst)   
     96#define OFFSET_GET(inst)        IMM_GET(inst)
    9797
    9898#define ADDU_R_SP_R0_TEMPL \
  • kernel/arch/mips32/src/debugger.c

    rdf6ded8 r1b20da0  
    386386                        ((uint32_t *)cur->address)[1] = 0x0d;
    387387                        cur->flags |= BKPOINT_REINST;
    388                 } 
     388                }
    389389                cur->flags |= BKPOINT_INPROG;
    390390        } else {
  • kernel/arch/mips32/src/exception.c

    rdf6ded8 r1b20da0  
    132132        debugger_bpoint(istate);
    133133#else
    134         /* it is necessary to not re-execute BREAK instruction after 
     134        /* it is necessary to not re-execute BREAK instruction after
    135135           returning from Exception handler
    136136           (see page 138 in R4000 Manual for more information) */
  • kernel/arch/mips32/src/mach/malta/malta.c

    rdf6ded8 r1b20da0  
    2727 */
    2828
    29 /** @addtogroup mips32 
     29/** @addtogroup mips32
    3030 * @{
    3131 */
     
    5454        .machine_output_init = malta_output_init,
    5555        .machine_input_init = malta_input_init,
    56         .machine_get_platform_name = malta_get_platform_name   
     56        .machine_get_platform_name = malta_get_platform_name
    5757};
    5858
  • kernel/arch/mips32/src/mach/msim/msim.c

    rdf6ded8 r1b20da0  
    2727 */
    2828
    29 /** @addtogroup mips32 
     29/** @addtogroup mips32
    3030 * @{
    3131 */
     
    5757        .machine_output_init = msim_output_init,
    5858        .machine_input_init = msim_input_init,
    59         .machine_get_platform_name = msim_get_platform_name     
     59        .machine_get_platform_name = msim_get_platform_name
    6060};
    6161
  • kernel/arch/mips32/src/mm/frame.c

    rdf6ded8 r1b20da0  
    141141
    142142        if (!frame_adjust_zone_bounds(low, &base, &size))
    143                 return; 
     143                return;
    144144
    145145        pfn_t first = ADDR2PFN(base);
     
    291291                printf("%#010x %10u\n",
    292292                        PFN2ADDR(phys_regions[i].start), PFN2ADDR(phys_regions[i].count));
    293         }       
     293        }
    294294}
    295295
  • kernel/arch/mips32/src/mm/tlb.c

    rdf6ded8 r1b20da0  
    219219         * We do not assert on this because this could be a manifestation of
    220220         * an emulator bug, such as QEMU Bug #1128935:
    221          * https://bugs.launchpad.net/qemu/+bug/1128935 
     221         * https://bugs.launchpad.net/qemu/+bug/1128935
    222222         */
    223223        if (index.p) {
Note: See TracChangeset for help on using the changeset viewer.