Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
extmem.c File Reference
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/spinlock.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/bootmem.h>
#include <linux/ctype.h>
#include <linux/ioport.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/ebcdic.h>
#include <asm/errno.h>
#include <asm/extmem.h>
#include <asm/cpcmd.h>
#include <asm/setup.h>

Go to the source code of this file.

Data Structures

struct  qrange
 
struct  qout64
 
struct  qin64
 
struct  dcss_segment
 

Macros

#define KMSG_COMPONENT   "extmem"
 
#define pr_fmt(fmt)   KMSG_COMPONENT ": " fmt
 
#define DCSS_LOADSHR   0x00
 
#define DCSS_LOADNSR   0x04
 
#define DCSS_PURGESEG   0x08
 
#define DCSS_FINDSEG   0x0c
 
#define DCSS_LOADNOLY   0x10
 
#define DCSS_SEGEXT   0x18
 
#define DCSS_LOADSHRX   0x20
 
#define DCSS_LOADNSRX   0x24
 
#define DCSS_FINDSEGX   0x2c
 
#define DCSS_SEGEXTX   0x38
 
#define DCSS_FINDSEGA   0x0c
 

Functions

int segment_type (char *name)
 
int segment_load (char *name, int do_nonshared, unsigned long *addr, unsigned long *end)
 
int segment_modify_shared (char *name, int do_nonshared)
 
void segment_unload (char *name)
 
void segment_save (char *name)
 
void segment_warning (int rc, char *seg_name)
 
 EXPORT_SYMBOL (segment_load)
 
 EXPORT_SYMBOL (segment_unload)
 
 EXPORT_SYMBOL (segment_save)
 
 EXPORT_SYMBOL (segment_type)
 
 EXPORT_SYMBOL (segment_modify_shared)
 
 EXPORT_SYMBOL (segment_warning)
 

Macro Definition Documentation

#define DCSS_FINDSEG   0x0c

Definition at line 32 of file extmem.c.

#define DCSS_FINDSEGA   0x0c

Definition at line 39 of file extmem.c.

#define DCSS_FINDSEGX   0x2c

Definition at line 37 of file extmem.c.

#define DCSS_LOADNOLY   0x10

Definition at line 33 of file extmem.c.

#define DCSS_LOADNSR   0x04

Definition at line 30 of file extmem.c.

#define DCSS_LOADNSRX   0x24

Definition at line 36 of file extmem.c.

#define DCSS_LOADSHR   0x00

Definition at line 29 of file extmem.c.

#define DCSS_LOADSHRX   0x20

Definition at line 35 of file extmem.c.

#define DCSS_PURGESEG   0x08

Definition at line 31 of file extmem.c.

#define DCSS_SEGEXT   0x18

Definition at line 34 of file extmem.c.

#define DCSS_SEGEXTX   0x38

Definition at line 38 of file extmem.c.

#define KMSG_COMPONENT   "extmem"

Definition at line 9 of file extmem.c.

#define pr_fmt (   fmt)    KMSG_COMPONENT ": " fmt

Definition at line 10 of file extmem.c.

Function Documentation

EXPORT_SYMBOL ( segment_load  )
EXPORT_SYMBOL ( segment_unload  )
EXPORT_SYMBOL ( segment_save  )
EXPORT_SYMBOL ( segment_type  )
EXPORT_SYMBOL ( segment_modify_shared  )
EXPORT_SYMBOL ( segment_warning  )
int segment_load ( char name,
int  do_nonshared,
unsigned long addr,
unsigned long end 
)

Definition at line 528 of file extmem.c.

int segment_modify_shared ( char name,
int  do_nonshared 
)

Definition at line 570 of file extmem.c.

void segment_save ( char name)

Definition at line 682 of file extmem.c.

int segment_type ( char name)

Definition at line 365 of file extmem.c.

void segment_unload ( char name)

Definition at line 652 of file extmem.c.

void segment_warning ( int  rc,
char seg_name 
)

Definition at line 729 of file extmem.c.