summaryrefslogtreecommitdiff
path: root/src/target/arm926ejs.h
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-11-17 01:09:50 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-11-17 01:09:50 -0800
commit0181296f61f11e4390e5a381906021db4ddd4bcd (patch)
tree603fd56c8c2925ed3869a79309721c177f6eef8c /src/target/arm926ejs.h
parent812ab89f58f43979a402ecf4bef7f09f84695cc6 (diff)
downloadopenocd+libswd-0181296f61f11e4390e5a381906021db4ddd4bcd.tar.gz
openocd+libswd-0181296f61f11e4390e5a381906021db4ddd4bcd.tar.bz2
openocd+libswd-0181296f61f11e4390e5a381906021db4ddd4bcd.tar.xz
openocd+libswd-0181296f61f11e4390e5a381906021db4ddd4bcd.zip
ARM9TDMI: remove now-needless "struct arm9tdmi"
And move the rest of the vector_catch stuff into the C file; it's not part of the module interface. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/arm926ejs.h')
-rw-r--r--src/target/arm926ejs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/arm926ejs.h b/src/target/arm926ejs.h
index 22081f4e..514f0543 100644
--- a/src/target/arm926ejs.h
+++ b/src/target/arm926ejs.h
@@ -27,7 +27,7 @@
struct arm926ejs_common
{
- struct arm9tdmi_common arm9tdmi_common;
+ struct arm7_9_common arm7_9_common;
uint32_t common_magic;
struct armv4_5_mmu_common armv4_5_mmu;
int (*read_cp15)(struct target *target, uint32_t op1, uint32_t op2, uint32_t CRn, uint32_t CRm, uint32_t *value);
@@ -42,7 +42,7 @@ static inline struct arm926ejs_common *
target_to_arm926(struct target *target)
{
return container_of(target->arch_info, struct arm926ejs_common,
- arm9tdmi_common.arm7_9_common.armv4_5_common);
+ arm7_9_common.armv4_5_common);
}