Changeset 98000fb in mainline for kernel/arch/mips32/src/mm/frame.c


Ignore:
Timestamp:
2009-06-03T19:34:45Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
301ff30
Parents:
69e68e3
Message:

remove redundant index_t and count_t types (which were always quite ambiguous and not actually needed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/src/mm/frame.c

    r69e68e3 r98000fb  
    6363} phys_region_t;
    6464
    65 static count_t phys_regions_count = 0;
     65static size_t phys_regions_count = 0;
    6666static phys_region_t phys_regions[MAX_REGIONS];
    6767
     
    120120        /* Init tasks */
    121121        bool safe = true;
    122         count_t i;
     122        size_t i;
    123123        for (i = 0; i < init.cnt; i++)
    124124                if (overlaps(frame << ZERO_PAGE_WIDTH, ZERO_PAGE_SIZE,
     
    175175        cp0_entry_hi_write(0);
    176176
    177         count_t i;
     177        size_t i;
    178178        for (i = 0; i < TLB_ENTRY_COUNT; i++) {
    179179                cp0_index_write(i);
     
    252252        printf("---------- ----------\n");
    253253       
    254         count_t i;
     254        size_t i;
    255255        for (i = 0; i < phys_regions_count; i++) {
    256256                printf("%#010x %10u\n",
Note: See TracChangeset for help on using the changeset viewer.