arm_mode_to_number() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

arm_mode_to_number() function

Map PSR mode bits to linear number indexing armv4_5_core_reg_map

Syntax

int arm_mode_to_number(enum arm_mode mode);
Implemented in armv4_5.c:192

Arguments

mode

References

LocationReferrerText
armv4_5.c:192
int arm_mode_to_number(enum arm_mode mode)
armv4_5.h:27
int arm_mode_to_number(enum arm_mode mode);
arm7_9_common.c:1415arm7_9_full_context()
arm7_9_common.c:1430arm7_9_full_context()
arm7_9_common.c:1432arm7_9_full_context()
read_cache[read_cache_idx].reg_p = ARMV4_5_CORE_REG_MODE(
arm7_9_common.c:1439arm7_9_full_context()
arm7_9_common.c:1442arm7_9_full_context()
arm7_9_common.c:1453arm7_9_full_context()
arm7_9_common.c:1455arm7_9_full_context()
read_cache[read_cache_idx].reg_p = ARMV4_5_CORE_REG_MODE(arm->core_cache,
arm7_9_common.c:1459arm7_9_full_context()
arm7_9_common.c:1461arm7_9_full_context()
arm7_9_common.c:1533arm7_9_restore_context()
arm7_9_common.c:1572arm7_9_restore_context()
arm7_9_common.c:1592arm7_9_restore_context()
arm_simulator.c:655armv4_5_get_reg_mode()
arm_simulator.c:663armv4_5_set_reg_mode()
armv4_5.c:456arm_set_cpsr()
num = arm_mode_to_number(mode);
armv4_5.c:1435armv4_5_run_algorithm_inner()
armv4_5.c:1551armv4_5_run_algorithm_inner()
armv4_5.c:1555armv4_5_run_algorithm_inner()
armv4_5.c:1557armv4_5_run_algorithm_inner()
armv4_5.c:1559armv4_5_run_algorithm_inner()
ARMV4_5_CORE_REG_MODE(arm->core_cache, arm_algorithm_info->core_mode,
armv4_5.c:1561armv4_5_run_algorithm_inner()
ARMV4_5_CORE_REG_MODE(arm->core_cache, arm_algorithm_info->core_mode,
xscale.c:1656xscale_full_context()
xscale.c:1674xscale_full_context()
xscale.c:1687xscale_full_context()
xscale.c:1726xscale_restore_banked()
xscale.c:1733xscale_restore_banked()
xscale.c:1752xscale_restore_banked()
xscale.c:1760xscale_restore_banked()