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:
File diff suppressed because it is too large
Load Diff
@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user