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

Go to the source code of this file.

Data Structures

struct  pcr_ops
 

Macros

#define PCR_PIC_PRIV   0x00000001 /* PIC access is privileged */
 
#define PCR_STRACE   0x00000002 /* Trace supervisor events */
 
#define PCR_UTRACE   0x00000004 /* Trace user events */
 
#define PCR_N2_HTRACE   0x00000008 /* Trace hypervisor events */
 
#define PCR_N2_TOE_OV0   0x00000010 /* Trap if PIC 0 overflows */
 
#define PCR_N2_TOE_OV1   0x00000020 /* Trap if PIC 1 overflows */
 
#define PCR_N2_MASK0   0x00003fc0
 
#define PCR_N2_MASK0_SHIFT   6
 
#define PCR_N2_SL0   0x0003c000
 
#define PCR_N2_SL0_SHIFT   14
 
#define PCR_N2_OV0   0x00040000
 
#define PCR_N2_MASK1   0x07f80000
 
#define PCR_N2_MASK1_SHIFT   19
 
#define PCR_N2_SL1   0x78000000
 
#define PCR_N2_SL1_SHIFT   27
 
#define PCR_N2_OV1   0x80000000
 
#define PCR_N4_OV   0x00000001 /* PIC overflow */
 
#define PCR_N4_TOE   0x00000002 /* Trap On Event */
 
#define PCR_N4_UTRACE   0x00000004 /* Trace user events */
 
#define PCR_N4_STRACE   0x00000008 /* Trace supervisor events */
 
#define PCR_N4_HTRACE   0x00000010 /* Trace hypervisor events */
 
#define PCR_N4_MASK   0x000007e0 /* Event mask */
 
#define PCR_N4_MASK_SHIFT   5
 
#define PCR_N4_SL   0x0000f800 /* Event Select */
 
#define PCR_N4_SL_SHIFT   11
 
#define PCR_N4_PICNPT   0x00010000 /* PIC non-privileged trap */
 
#define PCR_N4_PICNHT   0x00020000 /* PIC non-hypervisor trap */
 
#define PCR_N4_NTC   0x00040000 /* Next-To-Commit wrap */
 

Functions

void deferred_pcr_work_irq (int irq, struct pt_regs *regs)
 
void schedule_deferred_pcr_work (void)
 
int pcr_arch_init (void)
 

Variables

struct pcr_opspcr_ops
 

Macro Definition Documentation

#define PCR_N2_HTRACE   0x00000008 /* Trace hypervisor events */

Definition at line 21 of file pcr.h.

#define PCR_N2_MASK0   0x00003fc0

Definition at line 24 of file pcr.h.

#define PCR_N2_MASK0_SHIFT   6

Definition at line 25 of file pcr.h.

#define PCR_N2_MASK1   0x07f80000

Definition at line 29 of file pcr.h.

#define PCR_N2_MASK1_SHIFT   19

Definition at line 30 of file pcr.h.

#define PCR_N2_OV0   0x00040000

Definition at line 28 of file pcr.h.

#define PCR_N2_OV1   0x80000000

Definition at line 33 of file pcr.h.

#define PCR_N2_SL0   0x0003c000

Definition at line 26 of file pcr.h.

#define PCR_N2_SL0_SHIFT   14

Definition at line 27 of file pcr.h.

#define PCR_N2_SL1   0x78000000

Definition at line 31 of file pcr.h.

#define PCR_N2_SL1_SHIFT   27

Definition at line 32 of file pcr.h.

#define PCR_N2_TOE_OV0   0x00000010 /* Trap if PIC 0 overflows */

Definition at line 22 of file pcr.h.

#define PCR_N2_TOE_OV1   0x00000020 /* Trap if PIC 1 overflows */

Definition at line 23 of file pcr.h.

#define PCR_N4_HTRACE   0x00000010 /* Trace hypervisor events */

Definition at line 39 of file pcr.h.

#define PCR_N4_MASK   0x000007e0 /* Event mask */

Definition at line 40 of file pcr.h.

#define PCR_N4_MASK_SHIFT   5

Definition at line 41 of file pcr.h.

#define PCR_N4_NTC   0x00040000 /* Next-To-Commit wrap */

Definition at line 46 of file pcr.h.

#define PCR_N4_OV   0x00000001 /* PIC overflow */

Definition at line 35 of file pcr.h.

#define PCR_N4_PICNHT   0x00020000 /* PIC non-hypervisor trap */

Definition at line 45 of file pcr.h.

#define PCR_N4_PICNPT   0x00010000 /* PIC non-privileged trap */

Definition at line 44 of file pcr.h.

#define PCR_N4_SL   0x0000f800 /* Event Select */

Definition at line 42 of file pcr.h.

#define PCR_N4_SL_SHIFT   11

Definition at line 43 of file pcr.h.

#define PCR_N4_STRACE   0x00000008 /* Trace supervisor events */

Definition at line 38 of file pcr.h.

#define PCR_N4_TOE   0x00000002 /* Trap On Event */

Definition at line 36 of file pcr.h.

#define PCR_N4_UTRACE   0x00000004 /* Trace user events */

Definition at line 37 of file pcr.h.

#define PCR_PIC_PRIV   0x00000001 /* PIC access is privileged */

Definition at line 18 of file pcr.h.

#define PCR_STRACE   0x00000002 /* Trace supervisor events */

Definition at line 19 of file pcr.h.

#define PCR_UTRACE   0x00000004 /* Trace user events */

Definition at line 20 of file pcr.h.

Function Documentation

void deferred_pcr_work_irq ( int  irq,
struct pt_regs regs 
)

Definition at line 31 of file pcr.c.

int pcr_arch_init ( void  )

Definition at line 265 of file pcr.c.

void schedule_deferred_pcr_work ( void  )

Variable Documentation

Definition at line 51 of file pcr.c.