OpenOCD
arm_mode_to_number()
is only used within OpenOCD.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
Development Tools
OpenOCD
arm_mode_to_number()
arm_mode_to_number() function
Map PSR mode bits to linear number indexing armv4_5_core_reg_map
Syntax
from
armv4_5.h:27
int
arm_mode_to_number
(
enum
arm_mode
mode
)
;
Implemented in
armv4_5.c:192
Arguments
mode
References
Location
Referrer
Text
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:1415
arm7_9_full_context()
if
(
!
ARMV4_5_CORE_REG_MODE
(
arm
->
core_cache
,
armv4_5_number_to_mode
(
i
)
,
j
)
.
valid
)
arm7_9_common.c:1430
arm7_9_full_context()
if
(
!
ARMV4_5_CORE_REG_MODE
(
arm
->
core_cache
,
arm7_9_common.c:1432
arm7_9_full_context()
read_cache
[
read_cache_idx
]
.
reg_p
=
ARMV4_5_CORE_REG_MODE
(
arm7_9_common.c:1439
arm7_9_full_context()
ARMV4_5_CORE_REG_MODE
(
arm
->
core_cache
,
arm7_9_common.c:1442
arm7_9_full_context()
ARMV4_5_CORE_REG_MODE
(
arm
->
core_cache
,
arm7_9_common.c:1453
arm7_9_full_context()
if
(
!
ARMV4_5_CORE_REG_MODE
(
arm
->
core_cache
,
armv4_5_number_to_mode
(
i
)
,
arm7_9_common.c:1455
arm7_9_full_context()
read_cache
[
read_cache_idx
]
.
reg_p
=
ARMV4_5_CORE_REG_MODE
(
arm
->
core_cache
,
arm7_9_common.c:1459
arm7_9_full_context()
ARMV4_5_CORE_REG_MODE
(
arm
->
core_cache
,
armv4_5_number_to_mode
(
i
)
,
arm7_9_common.c:1461
arm7_9_full_context()
ARMV4_5_CORE_REG_MODE
(
arm
->
core_cache
,
armv4_5_number_to_mode
(
i
)
,
arm7_9_common.c:1533
arm7_9_restore_context()
reg
=
&
ARMV4_5_CORE_REG_MODE
(
arm
->
core_cache
,
armv4_5_number_to_mode
(
i
)
,
j
)
;
arm7_9_common.c:1572
arm7_9_restore_context()
reg
=
&
ARMV4_5_CORE_REG_MODE
(
arm
->
core_cache
,
arm7_9_common.c:1592
arm7_9_restore_context()
&
ARMV4_5_CORE_REG_MODE
(
arm
->
core_cache
,
armv4_5_number_to_mode
(
arm_simulator.c:655
armv4_5_get_reg_mode()
return
buf_get_u32
(
ARMV4_5_CORE_REG_MODE
(
arm
->
core_cache
,
arm_simulator.c:663
armv4_5_set_reg_mode()
buf_set_u32
(
ARMV4_5_CORE_REG_MODE
(
arm
->
core_cache
,
armv4_5.c:456
arm_set_cpsr()
num
=
arm_mode_to_number
(
mode
)
;
armv4_5.c:1435
armv4_5_run_algorithm_inner()
r
=
&
ARMV4_5_CORE_REG_MODE
(
arm
->
core_cache
,
armv4_5.c:1551
armv4_5_run_algorithm_inner()
regvalue
=
buf_get_u32
(
ARMV4_5_CORE_REG_MODE
(
arm
->
core_cache
,
armv4_5.c:1555
armv4_5_run_algorithm_inner()
ARMV4_5_CORE_REG_MODE
(
arm
->
core_cache
,
armv4_5.c:1557
armv4_5_run_algorithm_inner()
buf_set_u32
(
ARMV4_5_CORE_REG_MODE
(
arm
->
core_cache
,
armv4_5.c:1559
armv4_5_run_algorithm_inner()
ARMV4_5_CORE_REG_MODE
(
arm
->
core_cache
,
arm_algorithm_info
->
core_mode
,
armv4_5.c:1561
armv4_5_run_algorithm_inner()
ARMV4_5_CORE_REG_MODE
(
arm
->
core_cache
,
arm_algorithm_info
->
core_mode
,
xscale.c:1656
xscale_full_context()
if
(
!
ARMV4_5_CORE_REG_MODE
(
arm
->
core_cache
,
xscale.c:1674
xscale_full_context()
r
=
&
ARMV4_5_CORE_REG_MODE
(
arm
->
core_cache
,
xscale.c:1687
xscale_full_context()
r
=
&
ARMV4_5_CORE_REG_MODE
(
arm
->
core_cache
,
xscale.c:1726
xscale_restore_banked()
if
(
ARMV4_5_CORE_REG_MODE
(
arm
->
core_cache
,
xscale.c:1733
xscale_restore_banked()
if
(
ARMV4_5_CORE_REG_MODE
(
arm
->
core_cache
,
xscale.c:1752
xscale_restore_banked()
r
=
&
ARMV4_5_CORE_REG_MODE
(
arm
->
core_cache
,
xscale.c:1760
xscale_restore_banked()
r
=
&
ARMV4_5_CORE_REG_MODE
(
arm
->
core_cache
,
Call Tree
Functions calling
arm_mode_to_number()
Functions called by
arm_mode_to_number()
arm_set_cpsr()
armv4_5_run_algorithm_inner()
arm7_9_full_context()
arm7_9_restore_context()
armv4_5_get_reg_mode()
armv4_5_set_reg_mode()
xscale_full_context()
xscale_restore_banked()
all items filtered out
arm_mode_to_number()
log_printf_lf()
all items filtered out
Data read by
arm_mode_to_number()
log_levels::LOG_LVL_ERROR
arm_mode::ARM_MODE_USR
arm_mode::ARM_MODE_FIQ
arm_mode::ARM_MODE_IRQ
arm_mode::ARM_MODE_SVC
arm_mode::ARM_MODE_MON
arm_mode::ARM_MODE_ABT
arm_mode::ARM_MODE_HYP
arm_mode::ARM_MODE_UND
arm_mode::ARM_MODE_1176_MON
arm_mode::ARM_MODE_SYS
arm_mode::ARM_MODE_ANY
arm_mode_to_number()::mode
all items filtered out
arm_mode_to_number()