]> git.sur5r.net Git - openocd/commit
ARM: start generalized base type
authorDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 12 Nov 2009 05:49:14 +0000 (21:49 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 12 Nov 2009 05:49:14 +0000 (21:49 -0800)
commit4b20ed6b5cf6bc73471dec7d1604a4684d1fc2ca
tree29c6925dda1225d44aecb87e1dcd2c409b156112
parent5e1b500b173c7abaf9b78e32d31140c1bd4ba090
ARM: start generalized base type

Rename "struct armv4_5_common_s" as "struct arm".  It needs
a bit more work to be properly generic, and to move out of
this header, but it's the best start we have on that today.

Add and initialize an optional ETM pointer, since that will
be the first thing that gets generalized.

The intent being:  all ARMs should eventually derive from
this "struct arm", so they can reuse the current ETM logic.
(And later, more.)  Currently the ARM cores that *don't* so
derive are only ARMv7-M (and thus Cortex-M3) and ARM11.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/target/armv4_5.h
src/target/etm.c