Changeset 1433ecda in mainline for kernel/arch/mips32/src


Ignore:
Timestamp:
2018-04-04T15:42:37Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c4e1cc
Parents:
47b2d7e3
Message:

Fix cstyle: make ccheck-fix and commit only files where all the changes are good.

Location:
kernel/arch/mips32/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/src/cpu/cpu.c

    r47b2d7e3 r1433ecda  
    8686static struct data_t imp_data80[] = {
    8787        { "MIPS", "4Kc" },  /* 0x80 */
    88         {"Invalid","Invalid"}, /* 0x81 */
    89         {"Invalid","Invalid"}, /* 0x82 */
    90         {"MIPS","4Km & 4Kp"}, /* 0x83 */
    91         { NULL, NULL}
     88        { "Invalid", "Invalid" }, /* 0x81 */
     89        { "Invalid", "Invalid" }, /* 0x82 */
     90        { "MIPS", "4Km & 4Kp" }, /* 0x83 */
     91        { NULL, NULL }
    9292};
    9393
     
    129129
    130130        printf("cpu%u: %s %s (rev=%d.%d, imp=%d)\n",
    131                 m->id, data->vendor, data->model, m->arch.rev_num >> 4,
    132                 m->arch.rev_num & 0x0f, m->arch.imp_num);
     131            m->id, data->vendor, data->model, m->arch.rev_num >> 4,
     132            m->arch.rev_num & 0x0f, m->arch.imp_num);
    133133}
    134134
  • kernel/arch/mips32/src/mach/malta/malta.c

    r47b2d7e3 r1433ecda  
    8484{
    8585
    86         const char ch = (char) wch;
     86        const char ch = (char) wch;
    8787
    88         (*yamon_print_count)(0, &ch, 1);
     88        (*yamon_print_count)(0, &ch, 1);
    8989}
    9090
  • kernel/arch/mips32/src/mips32.c

    r47b2d7e3 r1433ecda  
    7474
    7575/* Stack pointer saved when entering user mode */
    76 uintptr_t supervisor_sp __attribute__ ((section (".text")));
     76uintptr_t supervisor_sp __attribute__((section(".text")));
    7777
    7878size_t cpu_count = 0;
     
    172172            (uintptr_t) kernel_uarg->uspace_entry);
    173173
    174         while (1);
     174        while (1)
     175                ;
    175176}
    176177
     
    194195{
    195196        ___halt();
    196         while (1);
     197        while (1)
     198                ;
    197199}
    198200
  • kernel/arch/mips32/src/mm/frame.c

    r47b2d7e3 r1433ecda  
    290290        for (i = 0; i < phys_regions_count; i++) {
    291291                printf("%#010x %10u\n",
    292                         PFN2ADDR(phys_regions[i].start), PFN2ADDR(phys_regions[i].count));
     292                    PFN2ADDR(phys_regions[i].start), PFN2ADDR(phys_regions[i].count));
    293293        }
    294294}
Note: See TracChangeset for help on using the changeset viewer.