Changeset 98000fb in mainline for kernel/arch/mips32/src
- Timestamp:
- 2009-06-03T19:34:45Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 301ff30
- Parents:
- 69e68e3
- Location:
- kernel/arch/mips32/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/mips32.c
r69e68e3 r98000fb 77 77 uintptr_t supervisor_sp __attribute__ ((section (".text"))); 78 78 79 count_t cpu_count = 0;79 size_t cpu_count = 0; 80 80 81 81 /** Performs mips32-specific initialization before main_bsp() is called. */ … … 85 85 init.cnt = bootinfo->cnt; 86 86 87 count_t i;87 size_t i; 88 88 for (i = 0; i < min3(bootinfo->cnt, TASKMAP_MAX_RECORDS, CONFIG_INIT_TASKS); i++) { 89 89 init.tasks[i].addr = bootinfo->tasks[i].addr; -
kernel/arch/mips32/src/mm/frame.c
r69e68e3 r98000fb 63 63 } phys_region_t; 64 64 65 static count_t phys_regions_count = 0;65 static size_t phys_regions_count = 0; 66 66 static phys_region_t phys_regions[MAX_REGIONS]; 67 67 … … 120 120 /* Init tasks */ 121 121 bool safe = true; 122 count_t i;122 size_t i; 123 123 for (i = 0; i < init.cnt; i++) 124 124 if (overlaps(frame << ZERO_PAGE_WIDTH, ZERO_PAGE_SIZE, … … 175 175 cp0_entry_hi_write(0); 176 176 177 count_t i;177 size_t i; 178 178 for (i = 0; i < TLB_ENTRY_COUNT; i++) { 179 179 cp0_index_write(i); … … 252 252 printf("---------- ----------\n"); 253 253 254 count_t i;254 size_t i; 255 255 for (i = 0; i < phys_regions_count; i++) { 256 256 printf("%#010x %10u\n", -
kernel/arch/mips32/src/mm/tlb.c
r69e68e3 r98000fb 561 561 * @param cnt Number of entries to invalidate. 562 562 */ 563 void tlb_invalidate_pages(asid_t asid, uintptr_t page, count_t cnt)563 void tlb_invalidate_pages(asid_t asid, uintptr_t page, size_t cnt) 564 564 { 565 565 unsigned int i;
Note:
See TracChangeset
for help on using the changeset viewer.
