diff src/cs/services/etm/etm_trace.h @ 0:b6a5e36de839

src/cs: initial import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jul 2018 04:39:26 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/cs/services/etm/etm_trace.h	Sun Jul 15 04:39:26 2018 +0000
@@ -0,0 +1,30 @@
+/********************************************************************************
+ * Enhanced TestMode (ETM)
+ * @file	etm_trace.h
+ *
+ * @author	Kim T. Peteren (ktp@ti.com)
+ * @version 0.1
+ *
+
+ *
+ * History:
+ *
+ * 	Date       	Modification
+ *  ------------------------------------
+ *  16/06/2003	Creation
+ *
+ * (C) Copyright 2003 by Texas Instruments Incorporated, All Rights Reserved
+ *********************************************************************************/
+
+
+#ifndef _ETM_TRACE_H_
+#define _ETM_TRACE_H_
+
+#include "etm/etm.h"
+
+void tr_etm(unsigned trmask, char *format, ...);
+void tr_etm_hexdump(unsigned int mask, const void *p, int size);
+void hexdump_buf(char *buf, int size);
+int  print_int_as_hex(unsigned int n);
+
+#endif // End of ETM_TRACE