1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 /***************************************************************************
4 * Copyright (C) 2007 by Dominic Rath *
5 * Dominic.Rath@gmx.de *
6 ***************************************************************************/
8 #ifndef OPENOCD_TARGET_ETB_H
9 #define OPENOCD_TARGET_ETB_H
18 ETB_RAM_READ_POINTER
= 0x05,
19 ETB_RAM_WRITE_POINTER
= 0x06,
20 ETB_TRIGGER_COUNTER
= 0x07,
25 struct etm_context
*etm_ctx
;
27 uint32_t cur_scan_chain
;
28 struct reg_cache
*reg_cache
;
34 /** how much trace buffer to fill after trigger */
35 unsigned int trigger_percent
;
43 extern struct etm_capture_driver etb_capture_driver
;
45 struct reg_cache
*etb_build_reg_cache(struct etb
*etb
);
47 #endif /* OPENOCD_TARGET_ETB_H */