Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
mca.h File Reference
#include <linux/interrupt.h>
#include <linux/types.h>
#include <asm/param.h>
#include <asm/sal.h>
#include <asm/processor.h>
#include <asm/mca_asm.h>

Go to the source code of this file.

Data Structures

struct  ia64_fptr
 
union  cmcv_reg_u
 
struct  ia64_mc_info_s
 
struct  ia64_sal_os_state
 
struct  ia64_mca_cpu
 
struct  ia64_mca_notify_die
 

Macros

#define IA64_MCA_RENDEZ_TIMEOUT   (20 * 1000) /* value in milliseconds - 20 seconds */
 
#define cmcv_mask   cmcv_reg_s.cmcr_mask
 
#define cmcv_vector   cmcv_reg_s.cmcr_vector
 

Typedefs

typedef struct ia64_fptr ia64_fptr_t
 
typedef union cmcv_reg_u cmcv_reg_t
 
typedef struct ia64_mc_info_s ia64_mc_info_t
 

Enumerations

enum  { IA64_MCA_RENDEZ_CHECKIN_NOTDONE = 0x0, IA64_MCA_RENDEZ_CHECKIN_DONE = 0x1, IA64_MCA_RENDEZ_CHECKIN_INIT = 0x2, IA64_MCA_RENDEZ_CHECKIN_CONCURRENT_MCA = 0x3 }
 
enum  { IA64_MCA_CORRECTED = 0x0, IA64_MCA_WARM_BOOT = -1, IA64_MCA_COLD_BOOT = -2, IA64_MCA_HALT = -3 }
 
enum  { IA64_INIT_RESUME = 0x0, IA64_INIT_WARM_BOOT = -1 }
 
enum  { IA64_MCA_SAME_CONTEXT = 0x0, IA64_MCA_NEW_CONTEXT = -1 }
 

Functions

void ia64_mca_init (void)
 
void ia64_mca_cpu_init (void *)
 
void ia64_os_mca_dispatch (void)
 
void ia64_os_mca_dispatch_end (void)
 
void ia64_mca_ucmc_handler (struct pt_regs *, struct ia64_sal_os_state *)
 
void ia64_init_handler (struct pt_regs *, struct switch_stack *, struct ia64_sal_os_state *)
 
void ia64_os_init_on_kdump (void)
 
void ia64_monarch_init_handler (void)
 
void ia64_slave_init_handler (void)
 
void ia64_mca_cmc_vector_setup (void)
 
int ia64_reg_MCA_extension (int(*fn)(void *, struct ia64_sal_os_state *))
 
void ia64_unreg_MCA_extension (void)
 
unsigned long ia64_get_rnat (unsigned long *)
 
void ia64_set_psr_mc (void)
 
void ia64_mca_printk (const char *fmt,...) __attribute__((format(printf
 
 DECLARE_PER_CPU (u64, ia64_mca_pal_base)
 

Variables

unsigned long __per_cpu_mca [NR_CPUS]
 
int cpe_vector
 
int ia64_cpe_irq
 

Macro Definition Documentation

#define cmcv_mask   cmcv_reg_s.cmcr_mask

Definition at line 44 of file mca.h.

#define cmcv_vector   cmcv_reg_s.cmcr_vector

Definition at line 45 of file mca.h.

#define IA64_MCA_RENDEZ_TIMEOUT   (20 * 1000) /* value in milliseconds - 20 seconds */

Definition at line 24 of file mca.h.

Typedef Documentation

typedef union cmcv_reg_u cmcv_reg_t

Enumeration Type Documentation

anonymous enum
Enumerator:
IA64_MCA_RENDEZ_CHECKIN_NOTDONE 
IA64_MCA_RENDEZ_CHECKIN_DONE 
IA64_MCA_RENDEZ_CHECKIN_INIT 
IA64_MCA_RENDEZ_CHECKIN_CONCURRENT_MCA 

Definition at line 47 of file mca.h.

anonymous enum
Enumerator:
IA64_MCA_CORRECTED 
IA64_MCA_WARM_BOOT 
IA64_MCA_COLD_BOOT 
IA64_MCA_HALT 

Definition at line 116 of file mca.h.

anonymous enum
Enumerator:
IA64_INIT_RESUME 
IA64_INIT_WARM_BOOT 

Definition at line 123 of file mca.h.

anonymous enum
Enumerator:
IA64_MCA_SAME_CONTEXT 
IA64_MCA_NEW_CONTEXT 

Definition at line 128 of file mca.h.

Function Documentation

DECLARE_PER_CPU ( u64  ,
ia64_mca_pal_base   
)
unsigned long ia64_get_rnat ( unsigned long )
void ia64_init_handler ( struct pt_regs ,
struct switch_stack ,
struct ia64_sal_os_state  
)

Definition at line 1664 of file mca.c.

void ia64_mca_cmc_vector_setup ( void  )

Definition at line 635 of file mca.c.

void ia64_mca_cpu_init ( void )

Definition at line 1848 of file mca.c.

void ia64_mca_init ( void  )

Definition at line 1950 of file mca.c.

void ia64_mca_printk ( const char fmt,
  ... 
)
void ia64_mca_ucmc_handler ( struct pt_regs ,
struct ia64_sal_os_state  
)
void ia64_monarch_init_handler ( void  )
void ia64_os_init_on_kdump ( void  )
void ia64_os_mca_dispatch ( void  )
void ia64_os_mca_dispatch_end ( void  )
int ia64_reg_MCA_extension ( int(*)(void *, struct ia64_sal_os_state *)  fn)

Definition at line 834 of file mca.c.

void ia64_set_psr_mc ( void  )
void ia64_slave_init_handler ( void  )
void ia64_unreg_MCA_extension ( void  )

Definition at line 844 of file mca.c.

Variable Documentation

unsigned long __per_cpu_mca[NR_CPUS]

Definition at line 133 of file mca.c.

int cpe_vector
int ia64_cpe_irq