view src/cs/services/etm/etm_trace.h @ 10:a8f9cc376e98

components: pruned import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jul 2018 21:19:43 +0000
parents b6a5e36de839
children
line wrap: on
line source

/********************************************************************************
 * 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