armv8_dpm_get_core_state() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...
CodeScopeDevelopment ToolsOpenOCDarmv8_dpm_get_core_state()

armv8_dpm_get_core_state() function

@file Implements various ARM DPM operations using architectural debug registers. These routines layer over core-specific communication methods to cope with implementation differences between cores like ARM1136 and Cortex-A8. The "Debug Programmers' Model" (DPM) for ARMv6 and ARMv7 is defined by Part C (Debug Architecture) of the ARM Architecture Reference Manual, ARMv7-A and ARMv7-R edition (ARM DDI 0406B). In OpenOCD, DPM operations are abstracted through internal programming interfaces to share code and to minimize needless differences in debug behavior between cores. Get core state from EDSCR, without necessity to retrieve CPSR

Syntax

enum arm_state armv8_dpm_get_core_state(struct arm_dpm *dpm);
Implemented in armv8_dpm.c:41

Arguments

dpm

References

LocationReferrerText
armv8_dpm.c:41
enum arm_state armv8_dpm_get_core_state(struct arm_dpm *dpm)
armv8_dpm.h:117
enum arm_state armv8_dpm_get_core_state(struct arm_dpm *dpm);
aarch64.c:982aarch64_debug_entry()
core_state = armv8_dpm_get_core_state(dpm);
aarch64.c:1303aarch64_set_breakpoint()
if (armv8_dpm_get_core_state(&armv8->dpm) == ARM_STATE_AARCH64) {
armv8_dpm.c:222dpmv8_exec_opcode()
if (armv8_dpm_get_core_state(dpm) != ARM_STATE_AARCH64)
armv8_dpm.c:600armv8_dpm_modeswitch()
core_state = armv8_dpm_get_core_state(dpm);
armv8_dpm.c:634armv8_dpm_modeswitch()
core_state = armv8_dpm_get_core_state(dpm);
armv8_dpm.c:1338armv8_dpm_handle_exception()
core_state = armv8_dpm_get_core_state(dpm);

Call Tree

Functions calling armv8_dpm_get_core_state()
armv8_dpm_get_core_state()
Data read by armv8_dpm_get_core_state()
Data written by armv8_dpm_get_core_state()
armv8_dpm_get_core_state()::el
armv8_dpm_get_core_state()::rw
all items filtered out
armv8_dpm_get_core_state()
all items filtered out
Type of armv8_dpm_get_core_state()
armv8_dpm_get_core_state()
all items filtered out