equal
deleted
inserted
replaced
68 extern int TryEnterDebugSection(void); |
68 extern int TryEnterDebugSection(void); |
69 extern void LeaveDebugSection(void); |
69 extern void LeaveDebugSection(void); |
70 extern long AtomicCompareExchange(long*, long, long); |
70 extern long AtomicCompareExchange(long*, long, long); |
71 extern void InitiateDebugTransfer(void); |
71 extern void InitiateDebugTransfer(void); |
72 |
72 |
73 extern int __tick; |
73 extern unsigned long __tick; |
74 void __publish_debug() |
74 void __publish_debug() |
75 { |
75 { |
76 /* Check there is no running debugger re-configuration */ |
76 /* Check there is no running debugger re-configuration */ |
77 if(TryEnterDebugSection()){ |
77 if(TryEnterDebugSection()){ |
78 /* Lock buffer */ |
78 /* Lock buffer */ |