OpenOCD
arm966e.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 /***************************************************************************
4  * Copyright (C) 2005 by Dominic Rath *
5  * Dominic.Rath@gmx.de *
6  * *
7  * Copyright (C) 2008 by Spencer Oliver *
8  * spen@spen-soft.co.uk *
9  ***************************************************************************/
10 
11 #ifndef OPENOCD_TARGET_ARM966E_H
12 #define OPENOCD_TARGET_ARM966E_H
13 
14 #include "arm9tdmi.h"
15 
16 #define ARM966E_COMMON_MAGIC 0x20f920f9U
17 
19  unsigned int common_magic;
20 
22  uint32_t cp15_control_reg;
23 };
24 
25 static inline struct arm966e_common *
27 {
30 }
31 
33  struct arm966e_common *arm966e, struct jtag_tap *tap);
34 int arm966e_write_cp15(struct target *target, int reg_addr, uint32_t value);
35 
37 
38 #endif /* OPENOCD_TARGET_ARM966E_H */
static struct arm966e_common * target_to_arm966(struct target *target)
Definition: arm966e.h:26
int arm966e_write_cp15(struct target *target, int reg_addr, uint32_t value)
Definition: arm966e.c:126
const struct command_registration arm966e_command_handlers[]
Definition: arm966e.c:230
int arm966e_init_arch_info(struct target *target, struct arm966e_common *arm966e, struct jtag_tap *tap)
Definition: arm966e.c:23
Structure for items that are common between both ARM7 and ARM9 targets.
Definition: arm7_9_common.h:28
struct arm arm
Definition: arm7_9_common.h:31
unsigned int common_magic
Definition: arm966e.h:19
uint32_t cp15_control_reg
Definition: arm966e.h:22
Definition: jtag.h:100
Definition: target.h:120
void * arch_info
Definition: target.h:169
#define container_of(ptr, type, member)
Cast a member of a structure out to the containing structure.
Definition: types.h:68