Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
extmem.h File Reference

Go to the source code of this file.

Macros

#define SEG_TYPE_SW   0
 
#define SEG_TYPE_EW   1
 
#define SEG_TYPE_SR   2
 
#define SEG_TYPE_ER   3
 
#define SEG_TYPE_SN   4
 
#define SEG_TYPE_EN   5
 
#define SEG_TYPE_SC   6
 
#define SEG_TYPE_EWEN   7
 
#define SEGMENT_SHARED   0
 
#define SEGMENT_EXCLUSIVE   1
 

Functions

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

Macro Definition Documentation

#define SEG_TYPE_EN   5

Definition at line 16 of file extmem.h.

#define SEG_TYPE_ER   3

Definition at line 14 of file extmem.h.

#define SEG_TYPE_EW   1

Definition at line 12 of file extmem.h.

#define SEG_TYPE_EWEN   7

Definition at line 18 of file extmem.h.

#define SEG_TYPE_SC   6

Definition at line 17 of file extmem.h.

#define SEG_TYPE_SN   4

Definition at line 15 of file extmem.h.

#define SEG_TYPE_SR   2

Definition at line 13 of file extmem.h.

#define SEG_TYPE_SW   0

Definition at line 11 of file extmem.h.

#define SEGMENT_EXCLUSIVE   1

Definition at line 21 of file extmem.h.

#define SEGMENT_SHARED   0

Definition at line 20 of file extmem.h.

Function Documentation

int segment_load ( char name,
int  segtype,
unsigned long addr,
unsigned long length 
)

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.