Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
init.c File Reference
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/pagemap.h>
#include <linux/bootmem.h>
#include <linux/swap.h>
#include <linux/highmem.h>
#include <linux/bitops.h>
#include <linux/nodemask.h>
#include <linux/pfn.h>
#include <linux/gfp.h>
#include <asm/types.h>
#include <asm/processor.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/pgalloc.h>
#include <asm/mmu_context.h>
#include <asm/setup.h>
#include <asm/tlb.h>

Go to the source code of this file.

Macros

#define START_PFN(nid)   (NODE_DATA(nid)->bdata->node_min_pfn)
 
#define MAX_LOW_PFN(nid)   (NODE_DATA(nid)->bdata->node_low_pfn)
 

Functions

void __init paging_init (void)
 
void __init mem_init (void)
 
void free_initmem (void)
 
unsigned long __init zone_sizes_init (void)
 
int __init reservedpages_count (void)
 

Variables

char _text
 
char _etext
 
char _edata
 
char __init_begin
 
char __init_end
 
pgd_t swapper_pg_dir [1024]
 
unsigned long mmu_context_cache_dat
 

Macro Definition Documentation

#define MAX_LOW_PFN (   nid)    (NODE_DATA(nid)->bdata->node_low_pfn)

Definition at line 60 of file init.c.

#define START_PFN (   nid)    (NODE_DATA(nid)->bdata->node_min_pfn)

Definition at line 59 of file init.c.

Function Documentation

void free_initmem ( void  )
void __init mem_init ( void  )
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 99 of file init.c.

int __init reservedpages_count ( void  )

Definition at line 114 of file init.c.

unsigned long __init zone_sizes_init ( void  )

Definition at line 63 of file init.c.

Variable Documentation

char __init_begin
char __init_end
char _edata
char _etext
char _text
unsigned long mmu_context_cache_dat

Definition at line 42 of file init.c.

pgd_t swapper_pg_dir[1024]

Definition at line 36 of file init.c.