Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
intmem.c File Reference
#include <linux/list.h>
#include <linux/slab.h>
#include <asm/io.h>
#include <memmap.h>

Go to the source code of this file.

Data Structures

struct  intmem_allocation
 

Macros

#define STATUS_FREE   0
 
#define STATUS_ALLOCATED   1
 
#define RESERVED_SIZE   0
 

Functions

voidcrisv32_intmem_alloc (unsigned size, unsigned align)
 
void crisv32_intmem_free (void *addr)
 
voidcrisv32_intmem_phys_to_virt (unsigned long addr)
 
unsigned long crisv32_intmem_virt_to_phys (void *addr)
 
 module_init (crisv32_intmem_init)
 

Macro Definition Documentation

#define RESERVED_SIZE   0

Definition at line 18 of file intmem.c.

#define STATUS_ALLOCATED   1

Definition at line 13 of file intmem.c.

#define STATUS_FREE   0

Definition at line 12 of file intmem.c.

Function Documentation

void* crisv32_intmem_alloc ( unsigned  size,
unsigned  align 
)

Definition at line 49 of file intmem.c.

void crisv32_intmem_free ( void addr)

Definition at line 94 of file intmem.c.

void* crisv32_intmem_phys_to_virt ( unsigned long  addr)

Definition at line 136 of file intmem.c.

unsigned long crisv32_intmem_virt_to_phys ( void addr)

Definition at line 142 of file intmem.c.

module_init ( crisv32_intmem_init  )