mips_m4k_common_t -> struct mips_m4k_common
authorZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 16:43:39 +0000 (08:43 -0800)
committerZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 19:58:12 +0000 (11:58 -0800)
Remove misleading typedef and redundant suffix from struct mips_m4k_common.

src/target/mips_m4k.c
src/target/mips_m4k.h

index 580c0602f578d488a72695f3075e3a7bb4e581a9..bd248748bc5f867c76788bce92d6b12e0d820028 100644 (file)
@@ -917,7 +917,7 @@ int mips_m4k_init_target(struct command_context_s *cmd_ctx, struct target_s *tar
        return ERROR_OK;
 }
 
        return ERROR_OK;
 }
 
-int mips_m4k_init_arch_info(target_t *target, mips_m4k_common_t *mips_m4k, struct jtag_tap *tap)
+int mips_m4k_init_arch_info(target_t *target, struct mips_m4k_common *mips_m4k, struct jtag_tap *tap)
 {
        struct mips32_common *mips32 = &mips_m4k->mips32_common;
 
 {
        struct mips32_common *mips32 = &mips_m4k->mips32_common;
 
@@ -932,7 +932,7 @@ int mips_m4k_init_arch_info(target_t *target, mips_m4k_common_t *mips_m4k, struc
 
 int mips_m4k_target_create(struct target_s *target, Jim_Interp *interp)
 {
 
 int mips_m4k_target_create(struct target_s *target, Jim_Interp *interp)
 {
-       mips_m4k_common_t *mips_m4k = calloc(1,sizeof(mips_m4k_common_t));
+       struct mips_m4k_common *mips_m4k = calloc(1,sizeof(struct mips_m4k_common));
 
        mips_m4k_init_arch_info(target, mips_m4k, target->tap);
 
 
        mips_m4k_init_arch_info(target, mips_m4k, target->tap);
 
index 89c0a1626f608e90f71bf1c15ca194f898cf61e6..6044974a39d3d412bb7530c6b50ed236131eb7d5 100644 (file)
@@ -29,11 +29,11 @@ struct target_s;
 
 #define MIPSM4K_COMMON_MAGIC   0xB321B321
 
 
 #define MIPSM4K_COMMON_MAGIC   0xB321B321
 
-typedef struct mips_m4k_common_s
+struct mips_m4k_common
 {
        int common_magic;
        struct mips32_common mips32_common;
 {
        int common_magic;
        struct mips32_common mips32_common;
-} mips_m4k_common_t;
+};
 
 int mips_m4k_bulk_write_memory(struct target_s *target,
                uint32_t address, uint32_t count, uint8_t *buffer);
 
 int mips_m4k_bulk_write_memory(struct target_s *target,
                uint32_t address, uint32_t count, uint8_t *buffer);

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)