VIRTUTECH CONFIDENTIAL    Previous - Up - Next

arm

Implemented By
armv5te
Description
This interface is implemented by ARM processors to provide various functionality that is specific for this class of processors.

The read_register_mode and write_register_mode functions are used to access banked copies of the registers. They are used just like the SIM_read_register and SIM_write_register functions, except that they take an extra parameter mode that specifies which register bank should be used. mode should be the mode bits in the cpsr corresponding to the mode shifted right to bits 0-4.

typedef struct arm_interface {
        uinteger_t (*read_register_mode)(conf_object_t *processor_obj,
                                         int reg_num,
                                         int mode);
        void (*write_register_mode)(conf_object_t *processor_obj,
                                    int reg_num,
                                    int mode,
                                    uinteger_t value);
} arm_interface_t;

#define ARM_INTERFACE "arm"

#define ARM_INT_IRQ 0 /* Used by simple-interrupt to raise an IRQ */
#define ARM_INT_FIQ 1 /* Used by simple-interrupt to raise an FIQ */

Command List
pscc-regsprint coprocessor 15 (scc) registers.

Command Descriptions

<arm>.pscc-regs
Synopsis
<arm>.pscc-regs
Description
Prints the current scc register file of coprocessor 15 (scc).
See Also
pregs

VIRTUTECH CONFIDENTIAL    Previous - Up - Next