Specifications

Table Of Contents
ARM Debugger 119 ARM specific SYStem Commands
©1989-2014 Lauterbach GmbH
Example 2 - Symbolic memory access:
Example 3 - Deleting Zone-specific Symbols:
To delete a complete symbol set belonging to a specific zone, e.g. the nonsecure zone, use the following
command to delete all symbols in the specified address range:
Zone-specific Debugger Address Translation Setup
If option ZoneSPACES is enabled and the debugger address translation is used (TRANSlation commands),
a strict zone separation of the address translations is enforced. Also, common address ranges will always be
specific for a certain zone (command TRANSlation.COMMON).
This example shows how to define separate translations for zones N: and H:
Operation System Support
If the CPU’s virtualization extension is used to virtualize one or more guest systems, the hypervisor always
runs in the CPU’s hypervisor mode (zone H:), and the current guest system (if a ready-to-run guest is
configured at all by the hypervisor) will run in the CPU’s nonsecure mode (zone N:).
Often, an operation system (such as a Linux kernel) runs in the context of the guest system.
; dump the address on symbol swapper_pg_dir which belongs
; to the nonsecure symbol set "vmlinux" we have loaded above:
Data.Dump swapper_pg_dir
; This will automatically use access class N: for the memory access,
; even if the CPU is currently not in nonsecure mode.
sYmbol.Delete N:0x0--0xffffffff ; nonsecure mode (access classes N:)
SYStem.Option ZoneSPACES ON
Data.LOAD.Elf sysmon Z:0 /NOCODE
Data.LOAD.Elf usermode N:0 /NoCODE /NoClear
; set up address translation for secure mode
TRANSlation.Create Z:0xC0000000++0x0fffffff A:0x10000000
; set up address translation for nonsecure mode
TRANSlation.Create N:0xC0000000++0x1fffffff A:0x40000000
; enable address translation and table walk
TRANSlation.ON
; check the complete translation setup
TRANSlation.List