diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-17 09:15:09 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-18 07:22:22 -0800 |
commit | 5e229bbf87fbb5a809553526edf0186dd3dd5cf8 (patch) | |
tree | 4abbfa0e0deeccbd2ae0052df247d8743548496d /src/openocd.h | |
parent | cb7dbc1af41068f826246beb53870c01d8973bb8 (diff) | |
download | riscv-openocd-5e229bbf87fbb5a809553526edf0186dd3dd5cf8.zip riscv-openocd-5e229bbf87fbb5a809553526edf0186dd3dd5cf8.tar.gz riscv-openocd-5e229bbf87fbb5a809553526edf0186dd3dd5cf8.tar.bz2 |
pass startup_tcl to command_init
Removes external linkage from helper module, making the startup
code a parameter to a new command context's initialization routine.
Diffstat (limited to 'src/openocd.h')
-rw-r--r-- | src/openocd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/openocd.h b/src/openocd.h index 1bf6b7e..70e3ee0 100644 --- a/src/openocd.h +++ b/src/openocd.h @@ -36,4 +36,7 @@ void openocd_sleep_prelude(void); /// used by the server_loop() function in src/server/server.c void openocd_sleep_postlude(void); +/// provides a hard-coded command environment setup +extern const char *openocd_startup_tcl; + #endif |