- Timestamp:
- 2005-12-10T12:12:09Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6e716a59
- Parents:
- 208189f
- Location:
- generic
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/include/debug.h
r208189f ra3ac9a7 31 31 32 32 #include <panic.h> 33 #include <arch/debug.h> 34 #include <arch.h> 33 35 36 #ifndef CALLER 37 /** Default (returns 0) macro for getting address of calling function 38 * @param x First argument of the called function 39 */ 40 # define CALLER(x) ((__address *) 0) 41 #endif 42 43 #ifndef HERE 44 /** Current Instruction Pointer address */ 45 # define HERE ((__address *)0) 46 #endif 34 47 35 48 /** Debugging ASSERT macro -
generic/src/interrupt/interrupt.c
r208189f ra3ac9a7 112 112 113 113 static cmd_info_t exc_info = { 114 .name = " exc_print",114 .name = "pexc", 115 115 .description = "Print exception table", 116 116 .func = exc_print_cmd, -
generic/src/synch/spinlock.c
r208189f ra3ac9a7 64 64 { 65 65 count_t i = 0; 66 __address caller = ((__address *) &sl)[-1];66 __address caller = CALLER(sl); 67 67 char *symbol; 68 68 bool deadlock_reported = false;
Note:
See TracChangeset
for help on using the changeset viewer.