30 files changed:
#endif
#include "arm11.h"
#endif
#include "arm11.h"
-#include "jtag.h"
-#include "log.h"
-#include <stdlib.h>
-#include <string.h>
#if 0
#define _DEBUG_INSTRUCTION_EXECUTION_
#if 0
#define _DEBUG_INSTRUCTION_EXECUTION_
#ifndef ARM11_H
#define ARM11_H
#ifndef ARM11_H
#define ARM11_H
-#include "target.h"
-#include "register.h"
-#include "arm_jtag.h"
-#include "types.h"
#define asizeof(x) (sizeof(x) / sizeof((x)[0]))
#define asizeof(x) (sizeof(x) / sizeof((x)[0]))
#endif
#include "arm11.h"
#endif
#include "arm11.h"
-#include "jtag.h"
-#include "log.h"
-#include <stdlib.h>
-#include <string.h>
#if 0
#define JTAG_DEBUG(expr ...) DEBUG(expr)
#if 0
#define JTAG_DEBUG(expr ...) DEBUG(expr)
#endif
#include "arm720t.h"
#endif
#include "arm720t.h"
-#include "jtag.h"
-#include "log.h"
#include "time_support.h"
#include "time_support.h"
-#include <stdlib.h>
-#include <string.h>
#if 0
#define _DEBUG_INSTRUCTION_EXECUTION_
#if 0
#define _DEBUG_INSTRUCTION_EXECUTION_
#ifndef ARM720T_H
#define ARM720T_H
#ifndef ARM720T_H
#define ARM720T_H
-#include "target.h"
-#include "register.h"
-#include "embeddedice.h"
-#include "arm_jtag.h"
#include "arm7tdmi.h"
#include "armv4_5_mmu.h"
#include "arm7tdmi.h"
#include "armv4_5_mmu.h"
-#include "armv4_5_cache.h"
#define ARM720T_COMMON_MAGIC 0xa720a720
#define ARM720T_COMMON_MAGIC 0xa720a720
#include "config.h"
#endif
#include "config.h"
#endif
-#include "replacements.h"
-
#include "target_request.h"
#include "target_request.h"
-#include "armv4_5.h"
-#include "arm_jtag.h"
-#include "jtag.h"
-#include "log.h"
#include "arm7_9_common.h"
#include "arm7_9_common.h"
-#include "breakpoints.h"
#include "time_support.h"
#include "arm_simulator.h"
#include "time_support.h"
#include "arm_simulator.h"
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
-
-#include <sys/stat.h>
-#include <sys/time.h>
-#include <errno.h>
int arm7_9_debug_entry(target_t *target);
int arm7_9_enable_sw_bkpts(struct target_s *target);
int arm7_9_debug_entry(target_t *target);
int arm7_9_enable_sw_bkpts(struct target_s *target);
#ifndef ARM7_9_COMMON_H
#define ARM7_9_COMMON_H
#ifndef ARM7_9_COMMON_H
#define ARM7_9_COMMON_H
-#include "armv4_5.h"
-#include "arm_jtag.h"
#include "etm.h"
#define ARM7_9_COMMON_MAGIC 0x0a790a79
#include "etm.h"
#define ARM7_9_COMMON_MAGIC 0x0a790a79
-#include "arm7_9_common.h"
-#include "register.h"
-#include "target.h"
-#include "armv4_5.h"
-#include "embeddedice.h"
-#include "etm.h"
-#include "log.h"
-#include "jtag.h"
-#include "arm_jtag.h"
-
-#include <stdlib.h>
-#include <string.h>
#if 0
#define _DEBUG_INSTRUCTION_EXECUTION_
#if 0
#define _DEBUG_INSTRUCTION_EXECUTION_
#ifndef ARM7TDMI_H
#define ARM7TDMI_H
#ifndef ARM7TDMI_H
#define ARM7TDMI_H
-#include "target.h"
-#include "register.h"
-#include "armv4_5.h"
-#include "arm_jtag.h"
-#include "arm7_9_common.h"
#define ARM7TDMI_COMMON_MAGIC 0x00a700a7
#define ARM7TDMI_COMMON_MAGIC 0x00a700a7
#endif
#include "arm920t.h"
#endif
#include "arm920t.h"
-#include "jtag.h"
-#include "log.h"
#include "time_support.h"
#include "time_support.h"
-#include <stdlib.h>
-#include <string.h>
#if 0
#define _DEBUG_INSTRUCTION_EXECUTION_
#if 0
#define _DEBUG_INSTRUCTION_EXECUTION_
#ifndef ARM920T_H
#define ARM920T_H
#ifndef ARM920T_H
#define ARM920T_H
-#include "target.h"
-#include "register.h"
-#include "embeddedice.h"
-#include "arm_jtag.h"
#include "arm9tdmi.h"
#include "armv4_5_mmu.h"
#include "arm9tdmi.h"
#include "armv4_5_mmu.h"
-#include "armv4_5_cache.h"
#define ARM920T_COMMON_MAGIC 0xa920a920
#define ARM920T_COMMON_MAGIC 0xa920a920
#endif
#include "arm926ejs.h"
#endif
#include "arm926ejs.h"
-#include "jtag.h"
-#include "log.h"
#include "time_support.h"
#include "time_support.h"
-#include <stdlib.h>
-#include <string.h>
#if 0
#define _DEBUG_INSTRUCTION_EXECUTION_
#if 0
#define _DEBUG_INSTRUCTION_EXECUTION_
#ifndef ARM926EJS_H
#define ARM926EJS_H
#ifndef ARM926EJS_H
#define ARM926EJS_H
-#include "target.h"
-#include "register.h"
-#include "embeddedice.h"
-#include "arm_jtag.h"
#include "arm9tdmi.h"
#include "armv4_5_mmu.h"
#include "arm9tdmi.h"
#include "armv4_5_mmu.h"
-#include "armv4_5_cache.h"
#define ARM926EJS_COMMON_MAGIC 0xa926a926
#define ARM926EJS_COMMON_MAGIC 0xa926a926
-#include "arm7_9_common.h"
-#include "register.h"
-#include "target.h"
-#include "armv4_5.h"
-#include "embeddedice.h"
-#include "log.h"
-#include "jtag.h"
-#include "arm_jtag.h"
-
-#include <stdlib.h>
-#include <string.h>
#if 0
#define _DEBUG_INSTRUCTION_EXECUTION_
#if 0
#define _DEBUG_INSTRUCTION_EXECUTION_
#ifndef ARM966E_H
#define ARM966E_H
#ifndef ARM966E_H
#define ARM966E_H
-#include "target.h"
-#include "register.h"
-#include "embeddedice.h"
-#include "arm_jtag.h"
#include "arm9tdmi.h"
#define ARM966E_COMMON_MAGIC 0x20f920f9
#include "arm9tdmi.h"
#define ARM966E_COMMON_MAGIC 0x20f920f9
-#include "arm7_9_common.h"
-#include "register.h"
-#include "target.h"
-#include "armv4_5.h"
-#include "embeddedice.h"
-#include "etm.h"
-#include "etb.h"
-#include "log.h"
-#include "jtag.h"
-#include "arm_jtag.h"
-
-#include <stdlib.h>
-#include <string.h>
#if 0
#define _DEBUG_INSTRUCTION_EXECUTION_
#if 0
#define _DEBUG_INSTRUCTION_EXECUTION_
#ifndef ARM9TDMI_H
#define ARM9TDMI_H
#ifndef ARM9TDMI_H
#define ARM9TDMI_H
-#include "target.h"
-#include "register.h"
-#include "armv4_5.h"
-#include "arm_jtag.h"
-#include "arm7_9_common.h"
#define ARM9TDMI_COMMON_MAGIC 0x00a900a9
#define ARM9TDMI_COMMON_MAGIC 0x00a900a9
#include "config.h"
#endif
#include "config.h"
#endif
-#include "replacements.h"
-
-#include "jtag.h"
-#include "log.h"
#include "time_support.h"
#include "time_support.h"
-#include <stdlib.h>
-#include <string.h>
#endif
#include "arm_disassembler.h"
#endif
#include "arm_disassembler.h"
/* textual represenation of the condition field */
/* ALways (default) is ommitted (empty string) */
/* textual represenation of the condition field */
/* ALways (default) is ommitted (empty string) */
-#include "binarybuffer.h"
-#include "log.h"
-#include "jtag.h"
-
-#include <stdlib.h>
#if 0
#define _ARM_JTAG_SCAN_N_CHECK_
#if 0
#define _ARM_JTAG_SCAN_N_CHECK_
#ifndef ARM_JTAG
#define ARM_JTAG
#ifndef ARM_JTAG
#define ARM_JTAG
#include "jtag.h"
typedef struct arm_jtag_s
#include "jtag.h"
typedef struct arm_jtag_s
#include "config.h"
#endif
#include "config.h"
#endif
#include "armv4_5.h"
#include "arm_disassembler.h"
#include "arm_simulator.h"
#include "log.h"
#include "binarybuffer.h"
#include "armv4_5.h"
#include "arm_disassembler.h"
#include "arm_simulator.h"
#include "log.h"
#include "binarybuffer.h"
u32 arm_shift(u8 shift, u32 Rm, u32 shift_amount, u8 *carry)
{
u32 arm_shift(u8 shift, u32 Rm, u32 shift_amount, u8 *carry)
{
#ifndef ARM_SIMULATOR_H
#define ARM_SIMULATOR_H
#ifndef ARM_SIMULATOR_H
#define ARM_SIMULATOR_H
-extern int arm_simulate_step(target_t *target, u32 *dry_run_pc);
+extern int arm_simulate_step(struct target_s *target, u32 *dry_run_pc);
#define ERROR_ARM_SIMULATOR_NOT_IMPLEMENTED (-700)
#define ERROR_ARM_SIMULATOR_NOT_IMPLEMENTED (-700)
#include "config.h"
#endif
#include "config.h"
#endif
-#include "replacements.h"
-
-#include "arm_disassembler.h"
-
-
-#include "target.h"
-#include "register.h"
-#include "log.h"
+#include "arm_disassembler.h"
#include "binarybuffer.h"
#include "binarybuffer.h"
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
bitfield_desc_t armv4_5_psr_bitfield_desc[] =
{
bitfield_desc_t armv4_5_psr_bitfield_desc[] =
{
#endif
#include "armv4_5_cache.h"
#endif
#include "armv4_5_cache.h"
int armv4_5_identify_cache(u32 cache_type_reg, armv4_5_cache_common_t *cache)
{
int armv4_5_identify_cache(u32 cache_type_reg, armv4_5_cache_common_t *cache)
{
#define ARMV4_5_CACHE_H
#include "types.h"
#define ARMV4_5_CACHE_H
#include "types.h"
+
+struct command_context_s;
typedef struct armv4_5_cachesize_s
{
typedef struct armv4_5_cachesize_s
{
#include "config.h"
#endif
#include "config.h"
#endif
-#include "arm7_9_common.h"
u32 armv4mmu_translate_va(target_t *target, armv4_5_mmu_common_t *armv4_5_mmu, u32 va, int *type, u32 *cb, int *domain, u32 *ap);
u32 armv4mmu_translate_va(target_t *target, armv4_5_mmu_common_t *armv4_5_mmu, u32 va, int *type, u32 *cb, int *domain, u32 *ap);
#define ARMV4_5_MMU_H
#include "armv4_5_cache.h"
#define ARMV4_5_MMU_H
#include "armv4_5_cache.h"
typedef struct armv4_5_mmu_common_s
{
typedef struct armv4_5_mmu_common_s
{
#include "config.h"
#endif
#include "config.h"
#endif
-#include "replacements.h"
-
-#include "register.h"
-#include "target.h"
-#include "log.h"
-#include "jtag.h"
-#include "arm_jtag.h"
-
-#include <stdlib.h>
-#include <string.h>
#if 0
#define _DEBUG_INSTRUCTION_EXECUTION_
#if 0
#define _DEBUG_INSTRUCTION_EXECUTION_
#ifndef ARMV7M_COMMON_H
#define ARMV7M_COMMON_H
#ifndef ARMV7M_COMMON_H
#define ARMV7M_COMMON_H
-#include "register.h"
-#include "target.h"
-#include "arm_jtag.h"
#include "arm_adi_v5.h"
/* define for enabling armv7 gdb workarounds */
#include "arm_adi_v5.h"
/* define for enabling armv7 gdb workarounds */
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)