* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
+
#ifndef CORTEX_A8_H
#define CORTEX_A8_H
#define CORTEX_A8_PADDRDBG_CPU_SHIFT 13
-struct cortex_a8_brp
-{
+struct cortex_a8_brp {
int used;
int type;
uint32_t value;
uint8_t BRPn;
};
-struct cortex_a8_common
-{
+struct cortex_a8_common {
int common_magic;
struct arm_jtag jtag_info;
uint32_t cp15_control_reg;
/* latest cp15 register value written and cpsr processor mode */
uint32_t cp15_control_reg_curr;
- enum arm_mode curr_mode;
+ enum arm_mode curr_mode;
/* Breakpoint register pairs */
static inline struct cortex_a8_common *
target_to_cortex_a8(struct target *target)
{
- return container_of(target->arch_info, struct cortex_a8_common,
- armv7a_common.arm);
+ return container_of(target->arch_info, struct cortex_a8_common, armv7a_common.arm);
}
#endif /* CORTEX_A8_H */