Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
setup.h File Reference
#include <uapi/asm/setup.h>

Go to the source code of this file.

Data Structures

struct  membank
 
struct  meminfo
 

Macros

#define __tag   __used __attribute__((__section__(".taglist.init")))
 
#define __tagtable(tag, fn)   static const struct tagtable __tagtable_##fn __tag = { tag, fn }
 
#define NR_BANKS   CONFIG_ARM_NR_BANKS
 
#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

int arm_add_memory (phys_addr_t start, phys_addr_t size)
 
void early_print (const char *str,...)
 
void dump_machine_table (void)
 

Variables

struct meminfo meminfo
 

Macro Definition Documentation

#define __tag   __used __attribute__((__section__(".taglist.init")))

Definition at line 20 of file setup.h.

#define __tagtable (   tag,
  fn 
)    static const struct tagtable __tagtable_##fn __tag = { tag, fn }

Definition at line 21 of file setup.h.

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

Definition at line 46 of file setup.h.

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

Definition at line 47 of file setup.h.

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

Definition at line 45 of file setup.h.

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

Definition at line 49 of file setup.h.

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

Definition at line 50 of file setup.h.

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

Definition at line 48 of file setup.h.

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

Definition at line 42 of file setup.h.

#define NR_BANKS   CONFIG_ARM_NR_BANKS

Definition at line 27 of file setup.h.

Function Documentation

int arm_add_memory ( phys_addr_t  start,
phys_addr_t  size 
)

Definition at line 503 of file setup.c.

void dump_machine_table ( void  )

Definition at line 489 of file setup.c.

void early_print ( const char str,
  ... 
)

Definition at line 340 of file setup.c.

Variable Documentation

Definition at line 91 of file init.c.