Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
init.c File Reference
#include <linux/mm.h>
#include <linux/swap.h>
#include <linux/init.h>
#include <linux/gfp.h>
#include <linux/bootmem.h>
#include <linux/proc_fs.h>
#include <linux/pagemap.h>
#include <linux/percpu.h>
#include <linux/io.h>
#include <linux/memblock.h>
#include <linux/dma-mapping.h>
#include <linux/export.h>
#include <asm/mmu_context.h>
#include <asm/mmzone.h>
#include <asm/kexec.h>
#include <asm/tlb.h>
#include <asm/cacheflush.h>
#include <asm/sections.h>
#include <asm/setup.h>
#include <asm/cache.h>
#include <asm/sizes.h>

Go to the source code of this file.

Functions

void __init generic_mem_init (void)
 
void __init __weak plat_mem_setup (void)
 
void __init allocate_pgdat (unsigned int nid)
 
void __init paging_init (void)
 
void __init mem_init (void)
 
void free_initmem (void)
 

Variables

pgd_t swapper_pg_dir [PTRS_PER_PGD]
 
unsigned int mem_init_done = 0
 

Function Documentation

void __init allocate_pgdat ( unsigned int  nid)

Definition at line 193 of file init.c.

void free_initmem ( void  )

Definition at line 502 of file init.c.

void __init generic_mem_init ( void  )

Definition at line 34 of file init.c.

void __init mem_init ( void  )

Definition at line 408 of file init.c.

void __init paging_init ( void  )

paging_init - setup page tables

paging_init() sets up the page tables for each node of the system and frees the bootmem allocator memory for general use.

Definition at line 321 of file init.c.

void __init __weak plat_mem_setup ( void  )

Definition at line 39 of file init.c.

Variable Documentation

unsigned int mem_init_done = 0

Definition at line 406 of file init.c.

pgd_t swapper_pg_dir[PTRS_PER_PGD]

Definition at line 32 of file init.c.