Changeset View
Changeset View
Standalone View
Standalone View
head/sys/arm/include/armreg.h
Show First 20 Lines • Show All 438 Lines • ▼ Show 20 Lines | |||||
* |c c c c| | | * |c c c c| | | ||||
* +-------+-------------------------------------------------------+ | * +-------+-------------------------------------------------------+ | ||||
*/ | */ | ||||
#define INSN_SIZE 4 /* Always 4 bytes */ | #define INSN_SIZE 4 /* Always 4 bytes */ | ||||
#define INSN_COND_MASK 0xf0000000 /* Condition mask */ | #define INSN_COND_MASK 0xf0000000 /* Condition mask */ | ||||
#define INSN_COND_AL 0xe0000000 /* Always condition */ | #define INSN_COND_AL 0xe0000000 /* Always condition */ | ||||
/* ARM register defines */ | |||||
#define ARM_REG_SIZE 4 | |||||
#define ARM_REG_NUM_PC 15 | |||||
#define ARM_REG_NUM_LR 14 | |||||
#define ARM_REG_NUM_SP 13 | |||||
#define THUMB_INSN_SIZE 2 /* Some are 4 bytes. */ | #define THUMB_INSN_SIZE 2 /* Some are 4 bytes. */ | ||||
#endif /* !MACHINE_ARMREG_H */ | #endif /* !MACHINE_ARMREG_H */ |