X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Foocd_trace.h;h=5773674d31dc7ca8fb9328fc642acefd1e024a11;hp=7c334f248d6d53aed929f6bf24575dbd62a7076a;hb=962b3eb40cc5b69d9b3d6fcc4c5d56c4d204a307;hpb=0241b1e1054e7d3d187c0a41c7ffefab321b6b67 diff --git a/src/target/oocd_trace.h b/src/target/oocd_trace.h index 7c334f248d..5773674d31 100644 --- a/src/target/oocd_trace.h +++ b/src/target/oocd_trace.h @@ -15,18 +15,16 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ***************************************************************************/ + #ifndef OOCD_TRACE_H #define OOCD_TRACE_H -#include - #include /* registers */ -enum -{ +enum { OOCD_TRACE_ID = 0x7, OOCD_TRACE_ADDRESS = 0x0, OOCD_TRACE_TRIGGER_COUNTER = 0x01, @@ -36,8 +34,7 @@ enum }; /* commands */ -enum -{ +enum { OOCD_TRACE_NOP = 0x0, OOCD_TRACE_READ_REG = 0x10, OOCD_TRACE_WRITE_REG = 0x18, @@ -46,8 +43,7 @@ enum OOCD_TRACE_RESYNC = 0xf0, }; -struct oocd_trace -{ +struct oocd_trace { struct etm_context *etm_ctx; char *tty; int tty_fd;