Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
mmu.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/mman.h>
#include <linux/nodemask.h>
#include <linux/memblock.h>
#include <linux/fs.h>
#include <linux/bootmem.h>
#include <linux/io.h>
#include <asm/cputype.h>
#include <asm/sections.h>
#include <asm/setup.h>
#include <asm/sizes.h>
#include <asm/tlb.h>
#include <asm/memblock.h>
#include <mach/map.h>
#include "mm.h"

Go to the source code of this file.

Data Structures

struct  map_desc
 

Macros

#define PROT_PTE_DEVICE
 
#define PROT_SECT_DEVICE
 
#define vectors_base()   (vectors_high() ? 0xffff0000 : 0)
 

Functions

 EXPORT_SYMBOL (empty_zero_page)
 
 EXPORT_SYMBOL (pgprot_user)
 
 EXPORT_SYMBOL (pgprot_kernel)
 
 __setup ("noalign", noalign_setup)
 
void adjust_cr (unsigned long mask, unsigned long set)
 
struct mem_typeget_mem_type (unsigned int type)
 
 EXPORT_SYMBOL (get_mem_type)
 
 early_param ("vmalloc", early_vmalloc)
 
void __init uc32_mm_memblock_reserve (void)
 
void __init paging_init (void)
 
void setup_mm_for_reboot (char mode)
 
void update_mmu_cache (struct vm_area_struct *vma, unsigned long addr, pte_t *ptep)
 

Variables

struct pageempty_zero_page
 
pmd_ttop_pmd
 
pgprot_t pgprot_user
 
pgprot_t pgprot_kernel
 

Macro Definition Documentation

#define PROT_PTE_DEVICE
Value:
PTE_DIRTY | PTE_READ | PTE_WRITE)

Definition at line 86 of file mmu.c.

#define PROT_SECT_DEVICE
Value:
PMD_SECT_READ | PMD_SECT_WRITE)

Definition at line 88 of file mmu.c.

#define vectors_base ( )    (vectors_high() ? 0xffff0000 : 0)

Definition at line 143 of file mmu.c.

Function Documentation

__setup ( "noalign"  ,
noalign_setup   
)
void adjust_cr ( unsigned long  mask,
unsigned long  set 
)

Definition at line 61 of file mmu.c.

early_param ( "vmalloc"  ,
early_vmalloc   
)
EXPORT_SYMBOL ( empty_zero_page  )
EXPORT_SYMBOL ( pgprot_user  )
EXPORT_SYMBOL ( pgprot_kernel  )
EXPORT_SYMBOL ( get_mem_type  )
struct mem_type* get_mem_type ( unsigned int  type)
read

Definition at line 126 of file mmu.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 422 of file mmu.c.

void setup_mm_for_reboot ( char  mode)

Definition at line 448 of file mmu.c.

void __init uc32_mm_memblock_reserve ( void  )

Definition at line 333 of file mmu.c.

void update_mmu_cache ( struct vm_area_struct vma,
unsigned long  addr,
pte_t ptep 
)
inline

Definition at line 488 of file mmu.c.

Variable Documentation

struct page* empty_zero_page

Definition at line 38 of file mmu.c.

pgprot_t pgprot_kernel

Definition at line 49 of file mmu.c.

pgprot_t pgprot_user

Definition at line 46 of file mmu.c.

pmd_t* top_pmd

Definition at line 44 of file mmu.c.