target/cortex_m: Add Realtek Real-M200 and M300
[openocd.git] / src / target / mips64.c
index f65aec114ee383d056da6444dea4021df5b0d4de..37f36855cb6416d2992423f95c9ebb2313be7c24 100644 (file)
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+
 /*
  * Support for processors implementing MIPS64 instruction set
  *
  *   Copyright (C) 2008 by Spencer Oliver
  *   Copyright (C) 2008 by David T.L. Wong
  *   Copyright (C) 2010 by Konstantin Kostyukhin, Nikolay Shmyrev
- *
- * SPDX-License-Identifier: GPL-2.0-or-later
  */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 
-#if BUILD_TARGET64 == 1
-
 #include "mips64.h"
 
 static const struct {
@@ -285,7 +283,7 @@ static int mips64_write_core_reg(struct target *target, int num)
 
        reg_value = buf_get_u64(mips64->core_cache->reg_list[num].value, 0, 64);
        mips64->core_regs[num] = reg_value;
-       LOG_DEBUG("write core reg %i value 0x%" PRIx64 "", num , reg_value);
+       LOG_DEBUG("write core reg %i value 0x%" PRIx64 "", num, reg_value);
        mips64->core_cache->reg_list[num].valid = 1;
        mips64->core_cache->reg_list[num].dirty = 0;
 
@@ -461,7 +459,7 @@ int mips64_init_arch_info(struct target *target, struct mips64_common *mips64,
 int mips64_run_algorithm(struct target *target, int num_mem_params,
                         struct mem_param *mem_params, int num_reg_params,
                         struct reg_param *reg_params, target_addr_t entry_point,
-                        target_addr_t exit_point, int timeout_ms, void *arch_info)
+                        target_addr_t exit_point, unsigned int timeout_ms, void *arch_info)
 {
        /* TODO */
        return ERROR_OK;
@@ -623,5 +621,3 @@ int mips64_enable_interrupts(struct target *target, bool enable)
 
        return ERROR_OK;
 }
-
-#endif /* BUILD_TARGET64 */

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)