Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
palinfo.c File Reference
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/proc_fs.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/efi.h>
#include <linux/notifier.h>
#include <linux/cpu.h>
#include <linux/cpumask.h>
#include <asm/pal.h>
#include <asm/sal.h>
#include <asm/page.h>
#include <asm/processor.h>
#include <linux/smp.h>

Go to the source code of this file.

Data Structures

struct  palinfo_entry_t
 
union  pal_func_cpu_u_t
 

Macros

#define PALINFO_VERSION   "0.5"
 
#define RSE_HINTS_COUNT   ARRAY_SIZE(rse_hints)
 
#define NR_PALINFO_ENTRIES   (int) ARRAY_SIZE(palinfo_entries)
 
#define NR_PALINFO_PROC_ENTRIES   (NR_CPUS*(NR_PALINFO_ENTRIES+1))
 
#define req_cpu   pal_func_cpu.req_cpu
 
#define func_id   pal_func_cpu.func_id
 
#define CPUSTR   "cpu%d"
 

Typedefs

typedef int(* palinfo_func_t )(char *)
 

Functions

 MODULE_AUTHOR ("Stephane Eranian <[email protected]>")
 
 MODULE_DESCRIPTION ("/proc interface to IA-64 PAL")
 
 MODULE_LICENSE ("GPL")
 
 module_init (palinfo_init)
 
 module_exit (palinfo_exit)
 

Macro Definition Documentation

#define CPUSTR   "cpu%d"
#define func_id   pal_func_cpu.func_id

Definition at line 881 of file palinfo.c.

#define NR_PALINFO_ENTRIES   (int) ARRAY_SIZE(palinfo_entries)

Definition at line 850 of file palinfo.c.

#define NR_PALINFO_PROC_ENTRIES   (NR_CPUS*(NR_PALINFO_ENTRIES+1))

Definition at line 860 of file palinfo.c.

#define PALINFO_VERSION   "0.5"

Definition at line 42 of file palinfo.c.

#define req_cpu   pal_func_cpu.req_cpu

Definition at line 880 of file palinfo.c.

#define RSE_HINTS_COUNT   ARRAY_SIZE(rse_hints)

Definition at line 100 of file palinfo.c.

Typedef Documentation

typedef int(* palinfo_func_t)(char *)

Definition at line 44 of file palinfo.c.

Function Documentation

MODULE_AUTHOR ( "Stephane Eranian <[email protected]>"  )
MODULE_DESCRIPTION ( "/proc interface to IA-64 PAL"  )
module_exit ( palinfo_exit  )
module_init ( palinfo_init  )
MODULE_LICENSE ( "GPL"  )