]> git.sur5r.net Git - openocd/commit
ARM: new DPM interface
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 24 Nov 2009 08:13:58 +0000 (00:13 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 24 Nov 2009 08:13:58 +0000 (00:13 -0800)
commite6dc927e972bb2d91131b0193b676c531377f318
treef8e874a5b1ec5e199dccb44c7f9d0e8452174ea3
parentad75af0b17af75d57b95298fb40784d33cc8f3e2
ARM: new DPM interface

First version of interface for sharing code between ARMv6 and ARMv7a
debug modules ... now the architecture includes debug support.  (Not
the same as for the trimmed-down v7m or v6m though!)  This is a first
version of an interface that will let the ARM11 and Cortex-A8 support
share code, features, and bugfixes.  Based on existing code from both
of those cores.

The ARM v7-AR architecture specification calls this commonality the
"Debug Programmer's Model (DPM)", which seemed to be an appropriate
acronym -- a TLA even! -- for use in our code.  Made it so.  :)

The initial scope of this just supports register access, and is geared
towards supporting top level "struct arm" mechanisms.  Later, things
like breakpoint and watchpoint support should be included.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/target/Makefile.am
src/target/arm_dpm.c [new file with mode: 0644]
src/target/arm_dpm.h [new file with mode: 0644]
src/target/armv4_5.c
src/target/armv4_5.h