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

Go to the source code of this file.

Data Structures

struct  membank
 
struct  meminfo
 

Macros

#define NR_BANKS   8
 
#define for_each_bank(iter, mi)   for (iter = 0; iter < (mi)->nr_banks; iter++)
 
#define bank_pfn_start(bank)   __phys_to_pfn((bank)->start)
 
#define bank_pfn_end(bank)   __phys_to_pfn((bank)->start + (bank)->size)
 
#define bank_pfn_size(bank)   ((bank)->size >> PAGE_SHIFT)
 
#define bank_phys_start(bank)   ((bank)->start)
 
#define bank_phys_end(bank)   ((bank)->start + (bank)->size)
 
#define bank_phys_size(bank)   ((bank)->size)
 

Functions

void uc32_memblock_init (struct meminfo *)
 

Variables

struct membank __attribute__
 
struct meminfo meminfo
 

Macro Definition Documentation

#define bank_pfn_end (   bank)    __phys_to_pfn((bank)->start + (bank)->size)

Definition at line 38 of file memblock.h.

#define bank_pfn_size (   bank)    ((bank)->size >> PAGE_SHIFT)

Definition at line 39 of file memblock.h.

#define bank_pfn_start (   bank)    __phys_to_pfn((bank)->start)

Definition at line 37 of file memblock.h.

#define bank_phys_end (   bank)    ((bank)->start + (bank)->size)

Definition at line 41 of file memblock.h.

#define bank_phys_size (   bank)    ((bank)->size)

Definition at line 42 of file memblock.h.

#define bank_phys_start (   bank)    ((bank)->start)

Definition at line 40 of file memblock.h.

#define for_each_bank (   iter,
  mi 
)    for (iter = 0; iter < (mi)->nr_banks; iter++)

Definition at line 34 of file memblock.h.

#define NR_BANKS   8

Definition at line 19 of file memblock.h.

Function Documentation

void uc32_memblock_init ( struct meminfo )

Definition at line 242 of file init.c.

Variable Documentation

Definition at line 91 of file init.c.