target: less implicit inclusion of "etm.h"

Don't include it in more headers than necessary; just
use it in the few files that actually need it.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
This commit is contained in:
David Brownell 2009-11-16 10:19:33 -08:00
parent dc1685ca25
commit 9a98e83b49
9 changed files with 13 additions and 2 deletions

View File

@ -26,10 +26,10 @@
#include "config.h"
#endif
#include "etm.h"
#include "arm11.h"
#include "breakpoints.h"
#include "arm11_dbgtap.h"
#include "armv4_5.h"
#include "arm_simulator.h"
#include "time_support.h"
#include "target_type.h"

View File

@ -24,6 +24,7 @@
#include "config.h"
#endif
#include "arm_jtag.h"
#include "arm11_dbgtap.h"
#include "time_support.h"

View File

@ -34,6 +34,7 @@
#include "embeddedice.h"
#include "target_request.h"
#include "arm7_9_common.h"
#include "etm.h"
#include "time_support.h"
#include "arm_simulator.h"
#include "algorithm.h"

View File

@ -30,6 +30,7 @@
#define ARM7_9_COMMON_H
#include "armv4_5.h"
#include "arm_jtag.h"
#define ARM7_9_COMMON_MAGIC 0x0a790a79 /**< */

View File

@ -28,6 +28,7 @@
#endif
#include "armv4_5.h"
#include "arm_jtag.h"
#include "breakpoints.h"
#include "arm_disassembler.h"
#include "binarybuffer.h"

View File

@ -27,7 +27,7 @@
#define ARMV4_5_H
#include "target.h"
#include "etm.h"
#include "log.h"
typedef enum armv4_5_mode
{

View File

@ -22,6 +22,7 @@
#endif
#include "armv4_5.h"
#include "etm.h"
#include "etb.h"
#include "register.h"

View File

@ -22,6 +22,7 @@
#endif
#include "armv4_5.h"
#include "etm.h"
#include "etb.h"
#include "image.h"
#include "arm_disassembler.h"

View File

@ -42,6 +42,11 @@ struct trace
int trace_history_overflowed;
};
/**
* \todo This enum is one of the few things in this file related
* to *hardware* tracing ... split such "real" tracing out from
* the contrib/libdcc support.
*/
typedef enum trace_status
{
TRACE_IDLE = 0x0,