Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
psrcompat.h File Reference
#include <asm/pstate.h>

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_V8PLUS   0xff000000 /* fake impl/ver, meaning a 64bit CPU is present */
 
#define PSR_XCC   0x000f0000 /* if PSR_V8PLUS, this is %xcc */
 

Macro Definition Documentation

#define PSR_C   0x00100000 /* carry bit */

Definition at line 17 of file psrcompat.h.

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

Definition at line 7 of file psrcompat.h.

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

Definition at line 13 of file psrcompat.h.

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

Definition at line 12 of file psrcompat.h.

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

Definition at line 8 of file psrcompat.h.

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

Definition at line 16 of file psrcompat.h.

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

Definition at line 22 of file psrcompat.h.

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

Definition at line 15 of file psrcompat.h.

#define PSR_N   0x00800000 /* negative bit */

Definition at line 20 of file psrcompat.h.

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

Definition at line 11 of file psrcompat.h.

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

Definition at line 9 of file psrcompat.h.

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

Definition at line 10 of file psrcompat.h.

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

Definition at line 14 of file psrcompat.h.

#define PSR_V   0x00200000 /* overflow bit */

Definition at line 18 of file psrcompat.h.

#define PSR_V8PLUS   0xff000000 /* fake impl/ver, meaning a 64bit CPU is present */

Definition at line 24 of file psrcompat.h.

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

Definition at line 21 of file psrcompat.h.

#define PSR_XCC   0x000f0000 /* if PSR_V8PLUS, this is %xcc */

Definition at line 25 of file psrcompat.h.

#define PSR_Z   0x00400000 /* zero bit */

Definition at line 19 of file psrcompat.h.