Changeset View
Changeset View
Standalone View
Standalone View
head/sys/arm/include/armreg.h
Show All 35 Lines | |||||
* SUCH DAMAGE. | * SUCH DAMAGE. | ||||
* | * | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifndef MACHINE_ARMREG_H | #ifndef MACHINE_ARMREG_H | ||||
#define MACHINE_ARMREG_H | #define MACHINE_ARMREG_H | ||||
#ifndef _SYS_CDEFS_H_ | |||||
#error Please include sys/cdefs.h before including machine/armreg.h | |||||
#endif | |||||
#define INSN_SIZE 4 | #define INSN_SIZE 4 | ||||
#define INSN_COND_MASK 0xf0000000 /* Condition mask */ | #define INSN_COND_MASK 0xf0000000 /* Condition mask */ | ||||
#define PSR_MODE 0x0000001f /* mode mask */ | #define PSR_MODE 0x0000001f /* mode mask */ | ||||
#define PSR_USR32_MODE 0x00000010 | #define PSR_USR32_MODE 0x00000010 | ||||
#define PSR_FIQ32_MODE 0x00000011 | #define PSR_FIQ32_MODE 0x00000011 | ||||
#define PSR_IRQ32_MODE 0x00000012 | #define PSR_IRQ32_MODE 0x00000012 | ||||
#define PSR_SVC32_MODE 0x00000013 | #define PSR_SVC32_MODE 0x00000013 | ||||
#define PSR_MON32_MODE 0x00000016 | #define PSR_MON32_MODE 0x00000016 | ||||
▲ Show 20 Lines • Show All 425 Lines • Show Last 20 Lines |