Linux Kernel
3.7.1
|
#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 |
#define __tag __used __attribute__((__section__(".taglist.init"))) |
#define bank_pfn_end | ( | bank | ) | __phys_to_pfn((bank)->start + (bank)->size) |
#define bank_pfn_size | ( | bank | ) | ((bank)->size >> PAGE_SHIFT) |
#define bank_pfn_start | ( | bank | ) | __phys_to_pfn((bank)->start) |
#define for_each_bank | ( | iter, | |
mi | |||
) | for (iter = 0; iter < (mi)->nr_banks; iter++) |
int arm_add_memory | ( | phys_addr_t | start, |
phys_addr_t | size | ||
) |