summaryrefslogtreecommitdiff
path: root/src/target/etb.h
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-12-19 13:06:46 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-12-19 13:06:46 -0800
commit9abad965ab358c1d598f1354842967cad637b284 (patch)
tree047127c60e1095c67a73f5c6c41e66485b326848 /src/target/etb.h
parentbfadd79965cc448a75b4f51abaf9523c4ec0ae26 (diff)
downloadopenocd+libswd-9abad965ab358c1d598f1354842967cad637b284.tar.gz
openocd+libswd-9abad965ab358c1d598f1354842967cad637b284.tar.bz2
openocd+libswd-9abad965ab358c1d598f1354842967cad637b284.tar.xz
openocd+libswd-9abad965ab358c1d598f1354842967cad637b284.zip
ETM trigger_percent becomes an ETB command
This command was misplaced; it's not generic to all traceport drivers, only the ETB supports this kind of configuration. So move it, and update the relevant documentation. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/etb.h')
-rw-r--r--src/target/etb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/target/etb.h b/src/target/etb.h
index 49385ee9..dfffb68a 100644
--- a/src/target/etb.h
+++ b/src/target/etb.h
@@ -44,6 +44,9 @@ struct etb
/* ETB parameters */
uint32_t ram_depth;
uint32_t ram_width;
+
+ /** how much trace buffer to fill after trigger */
+ unsigned trigger_percent;
};
struct etb_reg