OpenOCD
|
Go to the source code of this file.
Macros | |
#define | ARMV4_5_CORE_REG_MODE(cache, mode, num) (cache->reg_list[armv4_5_core_reg_map[arm_mode_to_number(mode)][num]]) |
Enumerations | |
enum | { ARMV4_5_CPSR = 31 } |
Functions | |
int | arm_mode_to_number (enum arm_mode mode) |
Map PSR mode bits to linear number indexing armv4_5_core_reg_map. More... | |
enum arm_mode | armv4_5_number_to_mode (int number) |
Map linear number indexing armv4_5_core_reg_map to PSR mode bits. More... | |
Variables | |
const int | armv4_5_core_reg_map [9][17] |
#define ARMV4_5_CORE_REG_MODE | ( | cache, | |
mode, | |||
num | |||
) | (cache->reg_list[armv4_5_core_reg_map[arm_mode_to_number(mode)][num]]) |
int arm_mode_to_number | ( | enum arm_mode | mode | ) |
Map PSR mode bits to linear number indexing armv4_5_core_reg_map.
Definition at line 192 of file armv4_5.c.
References ARM_MODE_1176_MON, ARM_MODE_ABT, ARM_MODE_ANY, ARM_MODE_FIQ, ARM_MODE_HYP, ARM_MODE_IRQ, ARM_MODE_MON, ARM_MODE_SVC, ARM_MODE_SYS, ARM_MODE_UND, ARM_MODE_USR, LOG_ERROR, and mode.
Referenced by arm_set_cpsr().
enum arm_mode armv4_5_number_to_mode | ( | int | number | ) |
Map linear number indexing armv4_5_core_reg_map to PSR mode bits.
Definition at line 192 of file armv4_5.c.
Referenced by arm7_9_full_context(), arm7_9_restore_context(), xscale_full_context(), and xscale_restore_banked().
|
extern |
Definition at line 403 of file armv4_5.c.
Referenced by arm_set_cpsr().