armv7a: ARMv7-A MMU tools
factor out mmu-related code from armv7a.c, add a 'dump' command for page tables. Change-Id: Ic1ac3c645d7fd097e9d625c7c8302e7065875dd4 Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com> Reviewed-on: http://openocd.zylin.com/4327 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
This commit is contained in:
committed by
Matthias Welwarsky
parent
29c81a8051
commit
010b09121c
@@ -50,6 +50,7 @@
|
||||
#include "breakpoints.h"
|
||||
#include "cortex_a.h"
|
||||
#include "register.h"
|
||||
#include "armv7a_mmu.h"
|
||||
#include "target_request.h"
|
||||
#include "target_type.h"
|
||||
#include "arm_opcodes.h"
|
||||
@@ -3121,6 +3122,9 @@ static const struct command_registration cortex_a_exec_command_handlers[] = {
|
||||
"on memory access",
|
||||
.usage = "['on'|'off']",
|
||||
},
|
||||
{
|
||||
.chain = armv7a_mmu_command_handlers,
|
||||
},
|
||||
|
||||
COMMAND_REGISTRATION_DONE
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user