Changes in / [3b2b37f:cc22003]
- Location:
- src
- Files:
-
- 4 edited
-
driver/cfa.cc (modified) (1 diff)
-
libcfa/bits/locks.h (modified) (2 diffs)
-
libcfa/concurrency/kernel.c (modified) (1 diff)
-
libcfa/startup.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/driver/cfa.cc
r3b2b37f rcc22003 347 347 args[nargs] = "--undefined=__cfaabi_appready_startup"; 348 348 nargs += 1; 349 args[nargs] = "-Xlinker";350 nargs += 1;351 args[nargs] = "--undefined=__cfaabi_dbg_record";352 nargs += 1;353 349 354 350 // include the cfa library in case it's needed -
src/libcfa/bits/locks.h
r3b2b37f rcc22003 64 64 extern void disable_interrupts(); 65 65 extern void enable_interrupts_noPoll(); 66 67 #ifdef __CFA_DEBUG__68 void __cfaabi_dbg_record(__spinlock_t & this, const char * prev_name);69 #else70 #define __cfaabi_dbg_record(x, y)71 #endif72 66 } 73 67 … … 77 71 this.lock = 0; 78 72 } 73 74 75 #ifdef __CFA_DEBUG__ 76 void __cfaabi_dbg_record(__spinlock_t & this, const char * prev_name); 77 #else 78 #define __cfaabi_dbg_record(x, y) 79 #endif 79 80 80 81 // Lock the spinlock, return false if already acquired -
src/libcfa/concurrency/kernel.c
r3b2b37f rcc22003 833 833 // Debug 834 834 __cfaabi_dbg_debug_do( 835 extern "C" { 836 void __cfaabi_dbg_record(__spinlock_t & this, const char * prev_name) { 837 this.prev_name = prev_name; 838 this.prev_thrd = kernelTLS.this_thread; 839 } 835 void __cfaabi_dbg_record(__spinlock_t & this, const char * prev_name) { 836 this.prev_name = prev_name; 837 this.prev_thrd = kernelTLS.this_thread; 840 838 } 841 839 ) -
src/libcfa/startup.c
r3b2b37f rcc22003 40 40 41 41 struct __spinlock_t; 42 extern "C" { 43 void __cfaabi_dbg_record(struct __spinlock_t & this, const char * prev_name) __attribute__(( weak )) {} 44 } 42 void __cfaabi_dbg_record(struct __spinlock_t & this, const char * prev_name) __attribute__(( weak )) {} 45 43 46 44 // Local Variables: //
Note:
See TracChangeset
for help on using the changeset viewer.