Changeset c19a4169 in mainline
- Timestamp:
- 2009-01-31T14:22:06Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2425349
- Parents:
- 1e241723
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/main/kinit.c
r1e241723 rc19a4169 73 73 #include <synch/spinlock.h> 74 74 75 #define ALIVE_CHARS 4 76 77 static char alive[ALIVE_CHARS] = "-\\|/"; 78 75 79 /** Kernel initialization thread. 76 80 * … … 205 209 #ifdef CONFIG_KCONSOLE 206 210 if (!stdin) { 211 thread_sleep(10); 207 212 printf("kinit: No stdin\nKernel alive: "); 208 213 209 u int64_t i = 0;210 while ( 1) {211 printf(" %" PRIu64 " ", i);214 unsigned int i = 0; 215 while (true) { 216 printf("\b%c", alive[i % ALIVE_CHARS]); 212 217 thread_sleep(1); 213 218 i++;
Note:
See TracChangeset
for help on using the changeset viewer.