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/errno.h>
#include <linux/bootmem.h>
#include <linux/kernel.h>
#include <linux/gfp.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/mman.h>
#include <linux/pagemap.h>
#include <linux/proc_fs.h>
#include <linux/sched.h>
#include <linux/initrd.h>
#include <asm/sections.h>
#include <asm/tlb.h>

Go to the source code of this file.

Macros

#define __page_aligned(order)   __attribute__((__aligned__(PAGE_SIZE<<order)))
 

Functions

 EXPORT_SYMBOL_GPL (empty_zero_page)
 
int page_is_ram (unsigned long pagenr)
 
void __init paging_init (void)
 
void __init mem_init (void)
 
void __init_refok free_initmem (void)
 
pgd_t swapper_pg_dir[PTRS_PER_PGD__page_aligned (PTE_ORDER)
 

Variables

unsigned long empty_zero_page
 
unsigned long pgd_current
 

Macro Definition Documentation

#define __page_aligned (   order)    __attribute__((__aligned__(PAGE_SIZE<<order)))

Definition at line 147 of file init.c.

Function Documentation

pgd_t swapper_pg_dir [PTRS_PER_PGD] __page_aligned ( PTE_ORDER  )
EXPORT_SYMBOL_GPL ( empty_zero_page  )
void __init_refok free_initmem ( void  )

Definition at line 138 of file init.c.

void __init mem_init ( void  )

Definition at line 80 of file init.c.

int page_is_ram ( unsigned long  pagenr)

Definition at line 61 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 69 of file init.c.

Variable Documentation

unsigned long empty_zero_page

Definition at line 41 of file init.c.

unsigned long pgd_current

Definition at line 145 of file init.c.