Changeset d1582b50 in mainline for kernel/arch


Ignore:
Timestamp:
2020-12-14T20:41:53Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
02fe42e
Parents:
1382446
git-author:
Jiri Svoboda <jiri@…> (2020-12-14 20:33:54)
git-committer:
Jiri Svoboda <jiri@…> (2020-12-14 20:41:53)
Message:

Fix spacing in single-line comments using latest ccheck

This found incorrectly formatted section comments (with blocks of
asterisks or dashes). I strongly believe against using section comments
but I am not simply removing them since that would probably be
controversial.

Location:
kernel/arch
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/include/arch/cp15.h

    r1382446 rd1582b50  
    248248        SCTLR_WRITE_XN_EN_FLAG       = 1 << 19, /* Only if virt. supported */
    249249        SCTLR_USPCE_WRITE_XN_EN_FLAG = 1 << 20, /* Only if virt. supported */
    250         SCTLR_FAST_IRQ_EN_FLAG       = 1 << 21, /* Disable impl. specific feat*/
     250        SCTLR_FAST_IRQ_EN_FLAG       = 1 << 21, /* Disable impl. specific feat */
    251251        SCTLR_UNALIGNED_EN_FLAG      = 1 << 22, /* Must be 1 on armv7 */
    252252        SCTLR_EXTENDED_PT_EN_FLAG    = 1 << 23,
     
    584584CONTROL_REG_GEN_WRITE(PMCCNTR, c9, 0, c13, 0);
    585585
    586 /*c10 has tons of reserved too */
     586/* c10 has tons of reserved too */
    587587CONTROL_REG_GEN_READ(PRRR, c10, 0, c2, 0); /* no PAE */
    588588CONTROL_REG_GEN_WRITE(PRRR, c10, 0, c2, 0); /* no PAE */
  • kernel/arch/arm32/include/arch/mm/page_armv6.h

    r1382446 rd1582b50  
    284284        p->non_global = !(flags & PAGE_GLOBAL);
    285285
    286         /* default access permission: kernel only*/
     286        /* default access permission: kernel only */
    287287        p->access_permission_0 = PTE_AP0_USER_NO_KERNEL_FULL;
    288288
  • kernel/arch/arm32/src/fpu_context.c

    r1382446 rd1582b50  
    186186        uint32_t mvfr0;
    187187
    188         /* Enable coprocessor access*/
     188        /* Enable coprocessor access */
    189189        fpu_enable_coprocessor_access();
    190190
  • kernel/arch/arm32/src/mach/beagleboardxm/beagleboardxm.c

    r1382446 rd1582b50  
    158158                spinlock_unlock(&irq->lock);
    159159        } else {
    160                 /* Spurious interrupt.*/
     160                /* Spurious interrupt. */
    161161                printf("cpu%d: spurious interrupt (inum=%d)\n",
    162162                    CPU->id, inum);
  • kernel/arch/arm32/src/mach/gta02/gta02.c

    r1382446 rd1582b50  
    148148                spinlock_unlock(&irq->lock);
    149149        } else {
    150                 /* Spurious interrupt.*/
     150                /* Spurious interrupt. */
    151151                log(LF_ARCH, LVL_DEBUG, "cpu%d: spurious interrupt (inum=%d)",
    152152                    CPU->id, inum);
  • kernel/arch/arm32/src/mach/integratorcp/integratorcp.c

    r1382446 rd1582b50  
    270270                                spinlock_unlock(&irq->lock);
    271271                        } else {
    272                                 /* Spurious interrupt.*/
     272                                /* Spurious interrupt. */
    273273                                log(LF_ARCH, LVL_DEBUG,
    274274                                    "cpu%d: spurious interrupt (inum=%d)",
  • kernel/arch/arm32/src/mach/raspberrypi/raspberrypi.c

    r1382446 rd1582b50  
    161161                spinlock_unlock(&irq->lock);
    162162        } else {
    163                 /* Spurious interrupt.*/
     163                /* Spurious interrupt. */
    164164                printf("cpu%d: spurious interrupt (inum=%d)\n", CPU->id, inum);
    165165                bcm2835_irc_disable(raspi.irc, inum);
  • kernel/arch/arm32/src/mm/page_fault.c

    r1382446 rd1582b50  
    161161        } ls_inst[] = {
    162162                /* Store word/byte */
    163                 { 0x0e100000, 0x04000000, PF_ACCESS_WRITE }, /*STR(B) imm*/
    164                 { 0x0e100010, 0x06000000, PF_ACCESS_WRITE }, /*STR(B) reg*/
     163                { 0x0e100000, 0x04000000, PF_ACCESS_WRITE }, /* STR(B) imm */
     164                { 0x0e100010, 0x06000000, PF_ACCESS_WRITE }, /* STR(B) reg */
    165165                /* Load word/byte */
    166                 { 0x0e100000, 0x04100000, PF_ACCESS_READ }, /*LDR(B) imm*/
    167                 { 0x0e100010, 0x06100000, PF_ACCESS_READ }, /*LDR(B) reg*/
     166                { 0x0e100000, 0x04100000, PF_ACCESS_READ }, /* LDR(B) imm */
     167                { 0x0e100010, 0x06100000, PF_ACCESS_READ }, /* LDR(B) reg */
    168168                /* Store half-word/dual  A5.2.8 */
    169                 { 0x0e1000b0, 0x000000b0, PF_ACCESS_WRITE }, /*STRH imm reg*/
     169                { 0x0e1000b0, 0x000000b0, PF_ACCESS_WRITE }, /* STRH imm reg */
    170170                /* Load half-word/dual A5.2.8 */
    171                 { 0x0e0000f0, 0x000000d0, PF_ACCESS_READ }, /*LDRH imm reg*/
    172                 { 0x0e1000b0, 0x001000b0, PF_ACCESS_READ }, /*LDRH imm reg*/
     171                { 0x0e0000f0, 0x000000d0, PF_ACCESS_READ }, /* LDRH imm reg */
     172                { 0x0e1000b0, 0x001000b0, PF_ACCESS_READ }, /* LDRH imm reg */
    173173                /* Block data transfer, Store */
    174174                { 0x0e100000, 0x08000000, PF_ACCESS_WRITE }, /* STM variants */
  • kernel/arch/arm64/src/mach/virt/virt.c

    r1382446 rd1582b50  
    9595                irq_spinlock_unlock(&irq->lock, false);
    9696        } else {
    97                 /* Spurious interrupt.*/
     97                /* Spurious interrupt. */
    9898                printf("cpu%d: spurious interrupt (inum=%u)\n", CPU->id, inum);
    9999        }
  • kernel/arch/sparc64/include/arch/register.h

    r1382446 rd1582b50  
    6969                unsigned priv : 1;      /**< Privileged Mode. */
    7070                unsigned ie : 1;        /**< Interrupt Enable. */
    71                 unsigned ag : 1;        /**< Alternate Globals*/
     71                unsigned ag : 1;        /**< Alternate Globals */
    7272        } __attribute__((packed));
    7373};
  • kernel/arch/sparc64/src/smp/sun4v/smp.c

    r1382446 rd1582b50  
    183183        md_node_t node = md_get_root();
    184184
    185         /* walk through all the CPU nodes in the MD*/
     185        /* walk through all the CPU nodes in the MD */
    186186        while (md_next_node(&node, "cpu")) {
    187187
Note: See TracChangeset for help on using the changeset viewer.