openocd: Added support for MMU memory watch

AccessListener with long width are implemented as MMU page-faults

Change-Id: I85208463b1f7eb3dbab187287caa387394a4af90
This commit is contained in:
Lars Rademacher
2013-11-06 12:35:33 +01:00
parent 809af0ae55
commit 146984f2fc
2 changed files with 828 additions and 138 deletions

File diff suppressed because it is too large Load Diff

View File

@ -17,7 +17,7 @@ aspect PandaWatchpoints
public: public:
bool onAddition() bool onAddition()
{ {
// Setup Watchpoint on Pandaboard // Setup Watchpoint on Pandaboard (if it cant be realized as WP, mmu will be utilzed)
struct halt_condition hc; struct halt_condition hc;
switch(m_WatchType) { switch(m_WatchType) {
@ -37,7 +37,7 @@ aspect PandaWatchpoints
void onDeletion() void onDeletion()
{ {
// Remove Watchpoint from Pandaboard // Remove Watchpoint from Pandaboard (if it was realized by mmu, it will be reprogrammed)
struct halt_condition hc; struct halt_condition hc;
switch(m_WatchType) { switch(m_WatchType) {