kernel/eka/drivers/trace/arm/btracex_impl.cia
branchGCC_SURGE
changeset 184 0e2270015475
parent 0 a41df078684a
equal deleted inserted replaced
183:9953e74bcef5 184:0e2270015475
   159 	asm("strneb	r4, [r11], #1 ");
   159 	asm("strneb	r4, [r11], #1 ");
   160 	asm("subne	r4, r4, #1 ");
   160 	asm("subne	r4, r4, #1 ");
   161 
   161 
   162 #ifdef BTRACE_INCLUDE_TIMESTAMPS
   162 #ifdef BTRACE_INCLUDE_TIMESTAMPS
   163 #ifdef __SMP__
   163 #ifdef __SMP__
   164 	asm("bl		Timestamp__5NKern ");
   164 	asm("bl	" CSM_ZN5NKern9TimestampEv);
   165 	asm("str	r0, [r5], #4 ");		// store timestamp low word
   165 	asm("str	r0, [r5], #4 ");		// store timestamp low word
   166 #ifdef USE_TIMESTAMP2
   166 #ifdef USE_TIMESTAMP2
   167 	asm("str	r1, [r5], #4 ");		// store timestamp high word
   167 	asm("str	r1, [r5], #4 ");		// store timestamp high word
   168 #endif
   168 #endif
   169 #else	// __SMP__
   169 #else	// __SMP__