Changeset 98000fb in mainline for kernel/arch/mips32/src


Ignore:
Timestamp:
2009-06-03T19:34:45Z (17 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)

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

Legend:

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

    r69e68e3 r98000fb  
    7777uintptr_t supervisor_sp __attribute__ ((section (".text")));
    7878
    79 count_t cpu_count = 0;
     79size_t cpu_count = 0;
    8080
    8181/** Performs mips32-specific initialization before main_bsp() is called. */
     
    8585        init.cnt = bootinfo->cnt;
    8686       
    87         count_t i;
     87        size_t i;
    8888        for (i = 0; i < min3(bootinfo->cnt, TASKMAP_MAX_RECORDS, CONFIG_INIT_TASKS); i++) {
    8989                init.tasks[i].addr = bootinfo->tasks[i].addr;
  • 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",
  • kernel/arch/mips32/src/mm/tlb.c

    r69e68e3 r98000fb  
    561561 * @param cnt           Number of entries to invalidate.
    562562 */
    563 void tlb_invalidate_pages(asid_t asid, uintptr_t page, count_t cnt)
     563void tlb_invalidate_pages(asid_t asid, uintptr_t page, size_t cnt)
    564564{
    565565        unsigned int i;
Note: See TracChangeset for help on using the changeset viewer.