1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 /***************************************************************************
4 * Copyright (C) 2005 by Dominic Rath *
5 * Dominic.Rath@gmx.de *
6 ***************************************************************************/
8 #ifndef OPENOCD_TARGET_ARM720T_H
9 #define OPENOCD_TARGET_ARM720T_H
12 #include "armv4_5_mmu.h"
14 #define ARM720T_COMMON_MAGIC 0xa720a720
16 struct arm720t_common {
17 struct arm7_9_common arm7_9_common;
18 uint32_t common_magic;
19 struct armv4_5_mmu_common armv4_5_mmu;
20 uint32_t cp15_control_reg;
25 static inline struct arm720t_common *target_to_arm720(struct target *target)
27 return container_of(target->arch_info, struct arm720t_common, arm7_9_common.arm);
30 #endif /* OPENOCD_TARGET_ARM720T_H */