Changeset 8ed4014 in mainline
- Timestamp:
- 2008-06-03T14:49:03Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 49eec93
- Parents:
- 93a3348
- Location:
- kernel/generic/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/debug/symtab.c
r93a3348 r8ed4014 40 40 #include <func.h> 41 41 #include <print.h> 42 #include <arch/types.h> 43 #include <typedefs.h> 42 44 43 45 /** Return entry that seems most likely to correspond to argument. … … 140 142 addr = uint64_t_le2host(symbol_table[i].address_le); 141 143 realname = symbol_table[i].symbol_name; 142 printf("% .*p: %s\n", sizeof(uintptr_t) * 2, addr, realname);144 printf("%p: %s\n", addr, realname); 143 145 i++; 144 146 } -
kernel/generic/src/synch/rwlock.c
r93a3348 r8ed4014 232 232 break; 233 233 case ESYNCH_OK_ATOMIC: 234 panic("_mutex_lock_timeout() ==ESYNCH_OK_ATOMIC\n");234 panic("_mutex_lock_timeout() == ESYNCH_OK_ATOMIC\n"); 235 235 break; 236 236 default: -
kernel/generic/src/synch/spinlock.c
r93a3348 r8ed4014 107 107 #endif 108 108 if (i++ > DEADLOCK_THRESHOLD) { 109 printf("cpu%d: looping on spinlock %.*p:%s, " 110 "caller=%.*p", CPU->id, sizeof(uintptr_t) * 2, sl, 111 sl->name, sizeof(uintptr_t) * 2, CALLER); 109 printf("cpu%u: looping on spinlock %" PRIp ":%s, caller=%" PRIp, 110 CPU->id, sl, sl->name, CALLER); 112 111 symbol = get_symtab_entry(CALLER); 113 112 if (symbol) … … 120 119 121 120 if (deadlock_reported) 122 printf("cpu% d: not deadlocked\n", CPU->id);121 printf("cpu%u: not deadlocked\n", CPU->id); 123 122 124 123 /*
Note:
See TracChangeset
for help on using the changeset viewer.