X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Fetm.h;h=6a78b75641538399e1cd2cf0ac5ac0db0a4ef155;hp=ded18e97547e169a598d2631a97c97ba897ae9d6;hb=8b66c96974cafa24ebcd2739aae5e1a5a64fdf22;hpb=08d4411b59dd8bd0e7d8009003b71d23acbf6eee diff --git a/src/target/etm.h b/src/target/etm.h index ded18e9754..6a78b75641 100644 --- a/src/target/etm.h +++ b/src/target/etm.h @@ -16,13 +16,11 @@ * GNU General Public License for more details. * * * * 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., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * + * along with this program. If not, see . * ***************************************************************************/ -#ifndef ETM_H -#define ETM_H +#ifndef OPENOCD_TARGET_ETM_H +#define OPENOCD_TARGET_ETM_H #include "trace.h" #include "arm_jtag.h" @@ -72,7 +70,7 @@ enum { }; struct etm_reg { - uint32_t value; + uint8_t value[4]; const struct etm_reg_info *reg_info; struct arm_jtag *jtag_info; }; @@ -223,4 +221,4 @@ extern const struct command_registration etm_command_handlers[]; #define ERROR_ETM_CAPTURE_INIT_FAILED (-1302) #define ERROR_ETM_ANALYSIS_FAILED (-1303) -#endif /* ETM_H */ +#endif /* OPENOCD_TARGET_ETM_H */