Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
z2ram.c File Reference
#include <linux/major.h>
#include <linux/vmalloc.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/blkdev.h>
#include <linux/bitops.h>
#include <linux/mutex.h>
#include <linux/slab.h>
#include <asm/setup.h>
#include <asm/amigahw.h>
#include <asm/pgtable.h>
#include <linux/zorro.h>

Go to the source code of this file.

Macros

#define DEVICE_NAME   "Z2RAM"
 
#define Z2MINOR_COMBINED   (0)
 
#define Z2MINOR_Z2ONLY   (1)
 
#define Z2MINOR_CHIPONLY   (2)
 
#define Z2MINOR_MEMLIST1   (4)
 
#define Z2MINOR_MEMLIST2   (5)
 
#define Z2MINOR_MEMLIST3   (6)
 
#define Z2MINOR_MEMLIST4   (7)
 
#define Z2MINOR_COUNT   (8) /* Move this down when adding a new minor */
 
#define Z2RAM_CHUNK1024   ( Z2RAM_CHUNKSIZE >> 10 )
 

Functions

 module_init (z2_init)
 
 module_exit (z2_exit)
 
 MODULE_LICENSE ("GPL")
 

Variables

int m68k_realnum_memory
 
struct mem_info m68k_memory [NUM_MEMINFO]
 

Macro Definition Documentation

#define DEVICE_NAME   "Z2RAM"

Definition at line 28 of file z2ram.c.

#define Z2MINOR_CHIPONLY   (2)

Definition at line 51 of file z2ram.c.

#define Z2MINOR_COMBINED   (0)

Definition at line 49 of file z2ram.c.

#define Z2MINOR_COUNT   (8) /* Move this down when adding a new minor */

Definition at line 56 of file z2ram.c.

#define Z2MINOR_MEMLIST1   (4)

Definition at line 52 of file z2ram.c.

#define Z2MINOR_MEMLIST2   (5)

Definition at line 53 of file z2ram.c.

#define Z2MINOR_MEMLIST3   (6)

Definition at line 54 of file z2ram.c.

#define Z2MINOR_MEMLIST4   (7)

Definition at line 55 of file z2ram.c.

#define Z2MINOR_Z2ONLY   (1)

Definition at line 50 of file z2ram.c.

#define Z2RAM_CHUNK1024   ( Z2RAM_CHUNKSIZE >> 10 )

Definition at line 58 of file z2ram.c.

Function Documentation

module_exit ( z2_exit  )
module_init ( z2_init  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

struct mem_info m68k_memory[NUM_MEMINFO]

Definition at line 74 of file setup_mm.c.

int m68k_realnum_memory

Definition at line 71 of file setup_mm.c.