Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
mspec.c File Reference
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/miscdevice.h>
#include <linux/spinlock.h>
#include <linux/mm.h>
#include <linux/fs.h>
#include <linux/vmalloc.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/numa.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include <linux/atomic.h>
#include <asm/tlbflush.h>
#include <asm/uncached.h>
#include <asm/sn/addrs.h>
#include <asm/sn/arch.h>
#include <asm/sn/mspec.h>
#include <asm/sn/sn_cpuid.h>
#include <asm/sn/io.h>
#include <asm/sn/bte.h>
#include <asm/sn/shubio.h>

Go to the source code of this file.

Data Structures

struct  vma_data
 

Macros

#define FETCHOP_ID   "SGI Fetchop,"
 
#define CACHED_ID   "Cached,"
 
#define UNCACHED_ID   "Uncached"
 
#define REVISION   "4.0"
 
#define MSPEC_BASENAME   "mspec"
 
#define is_sn2   0
 
#define VMD_VMALLOCED   0x1 /* vmalloc'd rather than kmalloc'd */
 
#define SH2_AMO_CACHE_ENTRIES   4
 

Enumerations

enum  mspec_page_type { MSPEC_FETCHOP = 1, MSPEC_CACHED, MSPEC_UNCACHED }
 

Functions

 module_init (mspec_init)
 
 module_exit (mspec_exit)
 
 MODULE_AUTHOR ("Silicon Graphics, Inc. <[email protected]>")
 
 MODULE_DESCRIPTION ("Driver for SGI SN special memory operations")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define CACHED_ID   "Cached,"

Definition at line 61 of file mspec.c.

#define FETCHOP_ID   "SGI Fetchop,"

Definition at line 60 of file mspec.c.

#define is_sn2   0

Definition at line 78 of file mspec.c.

#define MSPEC_BASENAME   "mspec"

Definition at line 64 of file mspec.c.

#define REVISION   "4.0"

Definition at line 63 of file mspec.c.

#define SH2_AMO_CACHE_ENTRIES   4

Definition at line 106 of file mspec.c.

#define UNCACHED_ID   "Uncached"

Definition at line 62 of file mspec.c.

#define VMD_VMALLOCED   0x1 /* vmalloc'd rather than kmalloc'd */

Definition at line 102 of file mspec.c.

Enumeration Type Documentation

Enumerator:
MSPEC_FETCHOP 
MSPEC_CACHED 
MSPEC_UNCACHED 

Definition at line 69 of file mspec.c.

Function Documentation

MODULE_AUTHOR ( "Silicon  Graphics,
Inc.< linux-altix @sgi.com >"   
)
MODULE_DESCRIPTION ( "Driver for SGI SN special memory operations"  )
module_exit ( mspec_exit  )
module_init ( mspec_init  )
MODULE_LICENSE ( "GPL"  )