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

src/{condat,cs,gpf,nucleus}: import from Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:23: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	Fri Oct 16 06:23:26 2020 +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