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

Go to the source code of this file.

Macros

#define IPL_MIN   0
 
#define IPL_SW0   1
 
#define IPL_SW1   2
 
#define IPL_DEV0   3
 
#define IPL_DEV1   4
 
#define IPL_TIMER   5
 
#define IPL_PERF   6
 
#define IPL_POWERFAIL   6
 
#define IPL_MCHECK   7
 
#define IPL_MAX   7
 
#define getipl()   (rdps() & 7)
 
#define setipl(ipl)   ((void) swpipl(ipl))
 

Macro Definition Documentation

#define getipl ( )    (rdps() & 7)

Definition at line 23 of file irqflags.h.

#define IPL_DEV0   3

Definition at line 9 of file irqflags.h.

#define IPL_DEV1   4

Definition at line 10 of file irqflags.h.

#define IPL_MAX   7

Definition at line 15 of file irqflags.h.

#define IPL_MCHECK   7

Definition at line 14 of file irqflags.h.

#define IPL_MIN   0

Definition at line 6 of file irqflags.h.

#define IPL_PERF   6

Definition at line 12 of file irqflags.h.

#define IPL_POWERFAIL   6

Definition at line 13 of file irqflags.h.

#define IPL_SW0   1

Definition at line 7 of file irqflags.h.

#define IPL_SW1   2

Definition at line 8 of file irqflags.h.

#define IPL_TIMER   5

Definition at line 11 of file irqflags.h.

#define setipl (   ipl)    ((void) swpipl(ipl))

Definition at line 24 of file irqflags.h.