Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
init_mm.c File Reference
#include <linux/module.h>
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/swap.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/bootmem.h>
#include <linux/gfp.h>
#include <asm/setup.h>
#include <asm/uaccess.h>
#include <asm/page.h>
#include <asm/pgalloc.h>
#include <asm/traps.h>
#include <asm/machdep.h>
#include <asm/io.h>
#include <asm/sections.h>
#include <asm/tlb.h>

Go to the source code of this file.

Macros

#define VECTORS   _ramvec
 
#define UL(x)   ((unsigned long) (x))
 
#define MLK(b, t)   UL(b), UL(t), (UL(t) - UL(b)) >> 10
 
#define MLM(b, t)   UL(b), UL(t), (UL(t) - UL(b)) >> 20
 
#define MLK_ROUNDUP(b, t)   b, t, DIV_ROUND_UP(((t) - (b)), 1024)
 

Functions

 EXPORT_SYMBOL (pg_data_map)
 
 EXPORT_SYMBOL (pg_data_table)
 
void __init m68k_setup_node (int node)
 
 EXPORT_SYMBOL (empty_zero_page)
 
void init_pointer_table (unsigned long ptable)
 
void __init print_memmap (void)
 
void __init mem_init (void)
 

Variables

pg_data_t pg_data_map [MAX_NUMNODES]
 
int m68k_virt_to_node_shift
 
pg_data_tpg_data_table [65]
 
voidempty_zero_page
 
pmd_tzero_pgtable
 

Macro Definition Documentation

#define MLK (   b,
  t 
)    UL(b), UL(t), (UL(t) - UL(b)) >> 10
#define MLK_ROUNDUP (   b,
  t 
)    b, t, DIV_ROUND_UP(((t) - (b)), 1024)
#define MLM (   b,
  t 
)    UL(b), UL(t), (UL(t) - UL(b)) >> 20
#define UL (   x)    ((unsigned long) (x))
#define VECTORS   _ramvec

Definition at line 81 of file init_mm.c.

Function Documentation

EXPORT_SYMBOL ( pg_data_map  )
EXPORT_SYMBOL ( pg_data_table  )
EXPORT_SYMBOL ( empty_zero_page  )
void init_pointer_table ( unsigned long  ptable)

Definition at line 37 of file memory.c.

void __init m68k_setup_node ( int  node)

Definition at line 45 of file init_mm.c.

void __init mem_init ( void  )

Definition at line 110 of file init_mm.c.

void __init print_memmap ( void  )

Definition at line 84 of file init_mm.c.

Variable Documentation

void* empty_zero_page

Definition at line 69 of file init_mm.c.

int m68k_virt_to_node_shift

Definition at line 38 of file init_mm.c.

pg_data_t pg_data_map[MAX_NUMNODES]

Definition at line 35 of file init_mm.c.

pg_data_t* pg_data_table[65]

Definition at line 41 of file init_mm.c.

pmd_t* zero_pgtable