Ignore:
Timestamp:
2018-04-04T15:42:37Z (7 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/mm/sun4v/tlb.c

    r47b2d7e3 r1433ecda  
    103103        "unaligned access",
    104104        "invalid page size"
    105         };
     105};
    106106
    107107/** Array of MMU fault status areas. */
     
    146146        if (locked) {
    147147                __hypercall_fast4(
    148                         MMU_MAP_PERM_ADDR, page, 0, data.value, MMU_FLAG_DTLB);
     148                    MMU_MAP_PERM_ADDR, page, 0, data.value, MMU_FLAG_DTLB);
    149149        } else {
    150150                __hypercall_hyperfast(
    151                         page, ASID_KERNEL, data.value, MMU_FLAG_DTLB, 0,
    152                         MMU_MAP_ADDR);
     151                    page, ASID_KERNEL, data.value, MMU_FLAG_DTLB, 0,
     152                    MMU_MAP_ADDR);
    153153        }
    154154}
     
    180180
    181181        __hypercall_hyperfast(
    182                 t->page, t->as->asid, data.value, MMU_FLAG_DTLB, 0, MMU_MAP_ADDR);
     182            t->page, t->as->asid, data.value, MMU_FLAG_DTLB, 0, MMU_MAP_ADDR);
    183183}
    184184
     
    205205
    206206        __hypercall_hyperfast(
    207                 t->page, t->as->asid, data.value, MMU_FLAG_ITLB, 0, MMU_MAP_ADDR);
     207            t->page, t->as->asid, data.value, MMU_FLAG_ITLB, 0, MMU_MAP_ADDR);
    208208}
    209209
     
    349349
    350350        printf("condition which caused the fault: %s\n",
    351                 fault_types[mmu_fsas[myid].dft]);
     351            fault_types[mmu_fsas[myid].dft]);
    352352}
    353353
     
    356356{
    357357        uint64_t errno =  __hypercall_fast3(MMU_DEMAP_ALL, 0, 0,
    358                 MMU_FLAG_DTLB | MMU_FLAG_ITLB);
     358            MMU_FLAG_DTLB | MMU_FLAG_ITLB);
    359359        if (errno != HV_EOK)
    360360                panic("Error code = %" PRIu64 ".\n", errno);
     
    372372
    373373        __hypercall_fast4(MMU_DEMAP_CTX, 0, 0, asid,
    374                 MMU_FLAG_ITLB | MMU_FLAG_DTLB);
     374            MMU_FLAG_ITLB | MMU_FLAG_DTLB);
    375375
    376376        nucleus_leave();
Note: See TracChangeset for help on using the changeset viewer.