#ifndef OOCD_TRACE_H
#define OOCD_TRACE_H
-#include "command.h"
-
#include "etm.h"
#include <termios.h>
-#include <unistd.h>
/* registers */
enum
{
- OOCD_TRACE_ID = 0x7,
- OOCD_TRACE_ADDRESS = 0x0,
- OOCD_TRACE_TRIGGER_COUNTER = 0x01,
- OOCD_TRACE_CONTROL = 0x2,
- OOCD_TRACE_STATUS = 0x3,
- OOCD_TRACE_SDRAM_COUNTER = 0x4,
+ OOCD_TRACE_ID = 0x7,
+ OOCD_TRACE_ADDRESS = 0x0,
+ OOCD_TRACE_TRIGGER_COUNTER = 0x01,
+ OOCD_TRACE_CONTROL = 0x2,
+ OOCD_TRACE_STATUS = 0x3,
+ OOCD_TRACE_SDRAM_COUNTER = 0x4,
};
/* commands */
extern etm_capture_driver_t oocd_trace_capture_driver;
-extern int oocd_trace_register_commands(struct command_context_s *cmd_ctx);
-
#endif /* OOCD_TRACE_TRACE_H */