ARMv7-R
The ARMv7-R model simulates the ARM sub architecture of the same name.
@ARMv7-R Reference
Properties
| Name | Type | Description |
|---|---|---|
Class |
*void |
Class object |
Component |
*void |
Pointer to component object if part of component |
LocalName |
*char |
Local name (in component, if applicable) |
LogMessageFlags |
uint64_t |
Per-object log message suppression flags |
LoggingFlags |
uint64_t |
Flags for logging info |
Name |
*char |
Object name |
ObjectID |
uint64_t |
Unique ObjectID. |
ReplayLoggingFlags |
uint64_t |
Replay-time category logging flags |
TimeSource |
*void |
Time source object |
ARMv7-R Reference
Properties
| Name | Type | Description |
|---|---|---|
CPUId |
uint32_t |
|
CPUType |
int32_t |
|
Class |
*void |
Class object |
Component |
*void |
Pointer to component object if part of component |
HostFlags |
uint64_t |
|
LocalName |
*char |
Local name (in component, if applicable) |
LogMessageFlags |
uint64_t |
Per-object log message suppression flags |
LoggingFlags |
uint64_t |
Flags for logging info |
Name |
*char |
Object name |
ObjectID |
uint64_t |
Unique ObjectID. |
ReplayLoggingFlags |
uint64_t |
Replay-time category logging flags |
TimeSource |
*void |
Time source object |
abtregs |
[uint32_t; 2] |
Abort-mode SP and LR |
config.assemblerAliases |
uint8_t |
|
config.exitOnSync |
uint8_t |
|
config.handleEventWithinBlock |
uint8_t |
|
config.measureExecTime |
uint8_t |
|
config.mmioAtc |
uint8_t |
Cache routes to devices in the ATCs (default from the cpu/mmio-atc configuration key, true if unset). |
coproc |
[temu_IfaceRef; 16]/ <unknown> |
ARM coprocessor |
cpi |
double |
Cycles per instruction |
cpsr |
uint32_t |
CPSR register |
currentContextId |
uint64_t |
|
currentContextValid |
uint8_t |
|
currentThreadContextId |
uint64_t |
|
currentThreadContextValid |
uint8_t |
|
epochNanos |
int64_t |
UNIX epoch nanoseconds corresponding to time source zero |
exitReason |
int32_t |
|
fiqregs |
[uint32_t; 7] |
FIQ-mode r8-r12, SP and LR |
freq |
int64_t |
Frequency in Hz |
gprs |
[uint32_t; 16] |
User-mode registers r0-r14 and the PC |
idleSteps |
int64_t |
|
ipc |
double |
Instructions per cycle |
irqClient |
temu_IfaceRef/ <unknown> |
Down stream interrupt controller (for ACKs) |
irqregs |
[uint32_t; 2] |
IRQ-mode SP and LR |
logTrampolines |
uint8_t |
Log entries into translated blocks |
mProfileClient |
temu_IfaceRef/ <unknown> |
Cortex-M profile exception controller |
memAccess |
temu_IfaceRef/ <unknown> |
Level 1 memory access interface (MMU) |
memAccessL2 |
temu_IfaceRef/ <unknown> |
Memory space the translator reads code from |
memReset |
temu_IfaceRef/ <unknown> |
Memory space reset interface |
memSpace |
*void |
Memory space. |
monregs |
[uint32_t; 2] |
|
nextEvent |
int64_t |
Next event |
parentTimeSource |
*void |
Parent time source |
pc |
uint64_t |
Program counter |
pdcManager |
temu_IfaceRef/ <unknown> |
Pre-decode cache manager (normally memory space) |
powerState |
uint32_t |
Power State property (deprecated) |
sctlr |
uint32_t |
|
sctlr_rst |
uint32_t |
|
skipIdleTags |
uint64_t |
|
spsr |
[uint32_t; 7] |
SPSRs: fiq, irq, svc, mon, abt, hyp, und |
startSteps |
int64_t |
Start steps of the time source |
state |
int32_t |
|
steps |
int64_t |
Steps of the time source |
stickyFlags |
uint32_t |
Set bit 0 to 1 to not exit CPU on halted mode. |
svcregs |
[uint32_t; 2] |
Supervisor-mode SP and LR |
targetExec |
temu_IfaceRef/ <unknown> |
Target execution interface |
targetSteps |
int64_t |
Target steps of the time source |
undregs |
[uint32_t; 2] |
Undefined-mode SP and LR |
Interfaces
| Name | Type | Description |
|---|---|---|
ARMMProfileIface |
ARMMProfile |
|
ArmIface |
ARMCpu |
|
AssemblerIface |
temu::AssemblerIface |
Assembler interface |
BinaryTranslationIface |
temu::BinaryTranslationControlIface |
|
ClockIface |
ClockIface |
|
CodePatternIface |
temu::CodePatternIface |
|
CpuIface |
temu::CpuIface |
|
ExecIface |
temu::TargetExecutionIface |
|
InvalidMemAccessIface |
MemAccessIface |
|
IrqIface |
IrqCtrlIface |
|
ObjectIface |
ObjectIface |
|
PowerIface |
PowerIface |
|
RegisterIface |
temu::RegisterIface |
Auto-generated Register Interface Impl. |
ResetIface |
ResetIface |
Commands
| Name | Description |
|---|---|
delete |
Dispose instance of ARMv7-R |
disable-dbt |
Disable binary translation. |
disable-dbt-logging |
Disable logging when translating code. |
disassemble |
Disassemble code |
enable-dbt |
Enable binary translation. |
enable-dbt-logging |
Enable logging when translating code. |
enable-stats |
Enable statistics |
pstat |
Print CPU stats |
setPC |
Set PC |
translate-block |
Translate block. |
Command disassemble Arguments
| Name | Type | Required | Description |
|---|---|---|---|
count |
int |
no |
Number of instructions |
isa |
string |
no |
Instruction set (a32 or t2), by default the current ISA is used. |
pa |
int |
no |
Physical address |
va |
int |
no |
Virtual address |