/trunk/kernel/test/test.c |
---|
58,7 → 58,11 |
#include <print/print1.def> |
#include <thread/thread1.def> |
#include <sysinfo/sysinfo1.def> |
{NULL, NULL, NULL} |
{ |
.name = NULL, |
.desc = NULL, |
.entry = NULL |
} |
}; |
/** @} |
/trunk/kernel/test/avltree/avltree1.c |
---|
246,7 → 246,7 |
static void test_tree_delmin(avltree_t *tree, count_t node_count, bool quiet) |
{ |
int i = 0; |
unsigned int i = 0; |
if (!quiet) |
printf("Deleting minimum nodes..."); |
/trunk/kernel/test/synch/rwlock5.c |
---|
69,7 → 69,7 |
char * test_rwlock5(bool quiet) |
{ |
int i, j, k; |
count_t readers, writers; |
long readers, writers; |
waitq_initialize(&can_start); |
rwlock_initialize(&rwlock); |
/trunk/kernel/test/thread/thread1.c |
---|
78,7 → 78,7 |
thread_sleep(10); |
atomic_set(&finish, 0); |
while (atomic_get(&threads_finished) < total) { |
while (atomic_get(&threads_finished) < ((long) total)) { |
if (!quiet) |
printf("Threads left: %d\n", total - atomic_get(&threads_finished)); |
thread_sleep(1); |
/trunk/kernel/test/mm/falloc2.c |
---|
88,7 → 88,7 |
printf("Thread #%llu (cpu%d): Deallocating ... \n", THREAD->tid, CPU->id); |
for (i = 0; i < allocated; i++) { |
for (k = 0; k <= ((FRAME_SIZE << order) - 1); k++) { |
for (k = 0; k <= (((index_t) FRAME_SIZE << order) - 1); k++) { |
if (((uint8_t *) frames[i])[k] != val) { |
if (!sh_quiet) |
printf("Thread #%llu (cpu%d): Unexpected data (%d) in block %p offset %#zx\n", THREAD->tid, CPU->id, ((char *) frames[i])[k], frames[i], k); |
/trunk/kernel/test/fpu/mips2.c |
---|
151,7 → 151,7 |
thread_sleep(1); |
waitq_wakeup(&can_start, WAKEUP_ALL); |
while (atomic_get(&threads_ok) != total) { |
while (atomic_get(&threads_ok) != (long) total) { |
if (!quiet) |
printf("Threads left: %d\n", total - atomic_get(&threads_ok)); |
thread_sleep(1); |
/trunk/kernel/test/fpu/fpu1.c |
---|
215,7 → 215,7 |
thread_sleep(1); |
waitq_wakeup(&can_start, WAKEUP_ALL); |
while (atomic_get(&threads_ok) != total) { |
while (atomic_get(&threads_ok) != (long) total) { |
if (!quiet) |
printf("Threads left: %d\n", total - atomic_get(&threads_ok)); |
thread_sleep(1); |
/trunk/kernel/test/fpu/sse1.c |
---|
151,7 → 151,7 |
thread_sleep(1); |
waitq_wakeup(&can_start, WAKEUP_ALL); |
while (atomic_get(&threads_ok) != total) { |
while (atomic_get(&threads_ok) != (long) total) { |
if (!quiet) |
printf("Threads left: %d\n", total - atomic_get(&threads_ok)); |
thread_sleep(1); |