Nut/OS  5.0.5
API Reference
armv4t.h File Reference

ARMv4T architecture definitions. More...

#include <stdint.h>
#include <dev/mweeprom.h>
Include dependency graph for armv4t.h:

Go to the source code of this file.

Defines

#define ARM_MODE_USER   0x10
#define ARM_MODE_FIQ   0x11
#define ARM_MODE_IRQ   0x12
#define ARM_MODE_SVC   0x13
#define ARM_MODE_ABORT   0x17
#define ARM_MODE_UNDEF   0x1B
#define ARM_MODE_SYS   0x1F
#define ARM_MODE_MASK   0x1F
#define I_BIT   0x80
#define ARM_CPSR_I_BIT   0x80
#define F_BIT   0x40
#define ARM_CPSR_F_BIT   0x40
#define T_BIT   0x20
#define ARM_CPSR_T_BIT   0x20
#define ARM_SET_CP15_CR(val)   __asm__ __volatile__("mcr p15, 0, %0, c1, c0, 0" :: "r"(val) : "cc")
#define ARM_GET_CP15_CR()

Detailed Description

ARMv4T architecture definitions.

 * $Id$
 *