Changeset 98000fb in mainline for kernel/test
- Timestamp:
- 2009-06-03T19:34:45Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 301ff30
- Parents:
- 69e68e3
- Location:
- kernel/test
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/avltree/avltree1.c
r69e68e3 r98000fb 195 195 } 196 196 197 static void test_tree_insert(avltree_t *tree, count_t node_count)197 static void test_tree_insert(avltree_t *tree, size_t node_count) 198 198 { 199 199 unsigned int i; … … 202 202 avltree_create(tree); 203 203 204 TPRINTF("Inserting %" PRI c" nodes...", node_count);204 TPRINTF("Inserting %" PRIs " nodes...", node_count); 205 205 206 206 for (i = 0; i < node_count; i++) { … … 215 215 } 216 216 217 static void test_tree_delete(avltree_t *tree, count_t node_count,217 static void test_tree_delete(avltree_t *tree, size_t node_count, 218 218 int node_position) 219 219 { … … 246 246 } 247 247 248 static void test_tree_delmin(avltree_t *tree, count_t node_count)248 static void test_tree_delmin(avltree_t *tree, size_t node_count) 249 249 { 250 250 unsigned int i = 0; -
kernel/test/mm/falloc2.c
r69e68e3 r98000fb 53 53 int order, run, allocated, i; 54 54 uint8_t val = THREAD->tid % THREADS; 55 index_t k;55 size_t k; 56 56 57 57 void **frames = (void **) malloc(MAX_FRAMES * sizeof(void *), FRAME_ATOMIC); … … 83 83 84 84 for (i = 0; i < allocated; i++) { 85 for (k = 0; k <= ((( index_t) FRAME_SIZE << order) - 1); k++) {85 for (k = 0; k <= (((size_t) FRAME_SIZE << order) - 1); k++) { 86 86 if (((uint8_t *) frames[i])[k] != val) { 87 TPRINTF("Thread #%" PRIu64 " (cpu%u): Unexpected data (%c) in block %p offset %#" PRI i"\n", THREAD->tid, CPU->id, ((char *) frames[i])[k], frames[i], k);87 TPRINTF("Thread #%" PRIu64 " (cpu%u): Unexpected data (%c) in block %p offset %#" PRIs "\n", THREAD->tid, CPU->id, ((char *) frames[i])[k], frames[i], k); 88 88 atomic_inc(&thread_fail); 89 89 goto cleanup; -
kernel/test/mm/purge1.c
r69e68e3 r98000fb 38 38 39 39 extern void tlb_invalidate_all(void); 40 extern void tlb_invalidate_pages(asid_t asid, uintptr_t va, count_t cnt);40 extern void tlb_invalidate_pages(asid_t asid, uintptr_t va, size_t cnt); 41 41 42 42 char *test_purge1(void) -
kernel/test/synch/rwlock4.c
r69e68e3 r98000fb 149 149 150 150 context_save(&ctx); 151 TPRINTF("sp=%#x, readers_in=%" PRI c"\n", ctx.sp, rwlock.readers_in);151 TPRINTF("sp=%#x, readers_in=%" PRIs "\n", ctx.sp, rwlock.readers_in); 152 152 TPRINTF("Creating %" PRIu32 " readers\n", rd); 153 153
Note:
See TracChangeset
for help on using the changeset viewer.