Remove misleading typedef and redundant suffix from struct arm11_sc7_action.
for (bp = target->breakpoints; bp; bp = bp->next)
{
for (bp = target->breakpoints; bp; bp = bp->next)
{
- arm11_sc7_action_t brp[2];
+ struct arm11_sc7_action brp[2];
brp[0].write = 1;
brp[0].address = ARM11_SC7_BVR0 + brp_num;
brp[0].write = 1;
brp[0].address = ARM11_SC7_BVR0 + brp_num;
/* Set up breakpoint for stepping */
/* Set up breakpoint for stepping */
- arm11_sc7_action_t brp[2];
+ struct arm11_sc7_action brp[2];
brp[0].write = 1;
brp[0].address = ARM11_SC7_BVR0;
brp[0].write = 1;
brp[0].address = ARM11_SC7_BVR0;
/** Apply reads and writes to scan chain 7
*
/** Apply reads and writes to scan chain 7
*
- * \see arm11_sc7_action_t
+ * \see struct arm11_sc7_action
*
* \param arm11 Target state variable.
* \param actions A list of read and/or write instructions
* \param count Number of instructions in the list.
*
*/
*
* \param arm11 Target state variable.
* \param actions A list of read and/or write instructions
* \param count Number of instructions in the list.
*
*/
-int arm11_sc7_run(struct arm11_common * arm11, arm11_sc7_action_t * actions, size_t count)
+int arm11_sc7_run(struct arm11_common * arm11, struct arm11_sc7_action * actions, size_t count)
*/
void arm11_sc7_clear_vbw(struct arm11_common * arm11)
{
*/
void arm11_sc7_clear_vbw(struct arm11_common * arm11)
{
- arm11_sc7_action_t clear_bw[arm11->brp + arm11->wrp + 1];
- arm11_sc7_action_t * pos = clear_bw;
+ struct arm11_sc7_action clear_bw[arm11->brp + arm11->wrp + 1];
+ struct arm11_sc7_action * pos = clear_bw;
for (size_t i = 0; i < asizeof(clear_bw); i++)
{
for (size_t i = 0; i < asizeof(clear_bw); i++)
{
*/
void arm11_sc7_set_vcr(struct arm11_common * arm11, uint32_t value)
{
*/
void arm11_sc7_set_vcr(struct arm11_common * arm11, uint32_t value)
{
- arm11_sc7_action_t set_vcr;
+ struct arm11_sc7_action set_vcr;
set_vcr.write = true;
set_vcr.address = ARM11_SC7_VCR;
set_vcr.write = true;
set_vcr.address = ARM11_SC7_VCR;
* Used with arm11_sc7_run to make a list of read/write commands for
* scan chain 7
*/
* Used with arm11_sc7_run to make a list of read/write commands for
* scan chain 7
*/
-typedef struct arm11_sc7_action_s
{
bool write; /**< Access mode: true for write, false for read. */
uint8_t address; /**< Register address mode. Use enum #arm11_sc7 */
{
bool write; /**< Access mode: true for write, false for read. */
uint8_t address; /**< Register address mode. Use enum #arm11_sc7 */
* this receives the read value when the function returns.
*/
uint32_t value;
* this receives the read value when the function returns.
*/
uint32_t value;
int arm11_sc7_run(struct arm11_common *arm11,
int arm11_sc7_run(struct arm11_common *arm11,
- arm11_sc7_action_t *actions, size_t count);
+ struct arm11_sc7_action *actions, size_t count);
/* Mid-level helper functions */
void arm11_sc7_clear_vbw(struct arm11_common *arm11);
/* Mid-level helper functions */
void arm11_sc7_clear_vbw(struct arm11_common *arm11);
Linking to existing account procedure
If you already have an account and want to add another login method
you
MUST first sign in with your existing account and
then change URL to read
https://review.openocd.org/login/?link
to get to this page again but this time it'll work for linking. Thank you.
SSH host keys fingerprints
1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=.. |
|+o.. . |
|*.o . . |
|+B . . . |
|Bo. = o S |
|Oo.+ + = |
|oB=.* = . o |
| =+=.+ + E |
|. .=o . o |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)