Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
psr.h File Reference

Go to the source code of this file.

Macros

#define PSR_CWP   0x0000001f /* current window pointer */
 
#define PSR_ET   0x00000020 /* enable traps field */
 
#define PSR_PS   0x00000040 /* previous privilege level */
 
#define PSR_S   0x00000080 /* current privilege level */
 
#define PSR_PIL   0x00000f00 /* processor interrupt level */
 
#define PSR_EF   0x00001000 /* enable floating point */
 
#define PSR_EC   0x00002000 /* enable co-processor */
 
#define PSR_SYSCALL   0x00004000 /* inside of a syscall */
 
#define PSR_LE   0x00008000 /* SuperSparcII little-endian */
 
#define PSR_ICC   0x00f00000 /* integer condition codes */
 
#define PSR_C   0x00100000 /* carry bit */
 
#define PSR_V   0x00200000 /* overflow bit */
 
#define PSR_Z   0x00400000 /* zero bit */
 
#define PSR_N   0x00800000 /* negative bit */
 
#define PSR_VERS   0x0f000000 /* cpu-version field */
 
#define PSR_IMPL   0xf0000000 /* cpu-implementation field */
 
#define PSR_VERS_SHIFT   24
 
#define PSR_IMPL_SHIFT   28
 
#define PSR_VERS_SHIFTED_MASK   0xf
 
#define PSR_IMPL_SHIFTED_MASK   0xf
 
#define PSR_IMPL_TI   0x4
 
#define PSR_IMPL_LEON   0xf
 

Macro Definition Documentation

#define PSR_C   0x00100000 /* carry bit */

Definition at line 31 of file psr.h.

#define PSR_CWP   0x0000001f /* current window pointer */

Definition at line 21 of file psr.h.

#define PSR_EC   0x00002000 /* enable co-processor */

Definition at line 27 of file psr.h.

#define PSR_EF   0x00001000 /* enable floating point */

Definition at line 26 of file psr.h.

#define PSR_ET   0x00000020 /* enable traps field */

Definition at line 22 of file psr.h.

#define PSR_ICC   0x00f00000 /* integer condition codes */

Definition at line 30 of file psr.h.

#define PSR_IMPL   0xf0000000 /* cpu-implementation field */

Definition at line 36 of file psr.h.

#define PSR_IMPL_LEON   0xf

Definition at line 44 of file psr.h.

#define PSR_IMPL_SHIFT   28

Definition at line 39 of file psr.h.

#define PSR_IMPL_SHIFTED_MASK   0xf

Definition at line 41 of file psr.h.

#define PSR_IMPL_TI   0x4

Definition at line 43 of file psr.h.

#define PSR_LE   0x00008000 /* SuperSparcII little-endian */

Definition at line 29 of file psr.h.

#define PSR_N   0x00800000 /* negative bit */

Definition at line 34 of file psr.h.

#define PSR_PIL   0x00000f00 /* processor interrupt level */

Definition at line 25 of file psr.h.

#define PSR_PS   0x00000040 /* previous privilege level */

Definition at line 23 of file psr.h.

#define PSR_S   0x00000080 /* current privilege level */

Definition at line 24 of file psr.h.

#define PSR_SYSCALL   0x00004000 /* inside of a syscall */

Definition at line 28 of file psr.h.

#define PSR_V   0x00200000 /* overflow bit */

Definition at line 32 of file psr.h.

#define PSR_VERS   0x0f000000 /* cpu-version field */

Definition at line 35 of file psr.h.

#define PSR_VERS_SHIFT   24

Definition at line 38 of file psr.h.

#define PSR_VERS_SHIFTED_MASK   0xf

Definition at line 40 of file psr.h.

#define PSR_Z   0x00400000 /* zero bit */

Definition at line 33 of file psr.h.