Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
pgtable_32.h File Reference
#include <asm/pgtable_32_types.h>
#include <asm/processor.h>
#include <asm/fixmap.h>
#include <linux/threads.h>
#include <asm/paravirt.h>
#include <linux/bitops.h>
#include <linux/list.h>
#include <linux/spinlock.h>
#include <asm/pgtable-2level.h>

Go to the source code of this file.

Macros

#define pte_offset_map(dir, address)   ((pte_t *)page_address(pmd_page(*(dir))) + pte_index((address)))
 
#define pte_unmap(pte)   do { } while (0)
 
#define kpte_clear_flush(ptep, vaddr)
 
#define update_mmu_cache(vma, address, ptep)   do { } while (0)
 
#define update_mmu_cache_pmd(vma, address, pmd)   do { } while (0)
 
#define kern_addr_valid(kaddr)   (0)
 

Functions

void paging_init (void)
 
void set_pmd_pfn (unsigned long, unsigned long, pgprot_t)
 

Variables

pgd_t swapper_pg_dir [1024]
 
pgd_t initial_page_table [1024]
 

Macro Definition Documentation

#define kern_addr_valid (   kaddr)    (0)

Definition at line 85 of file pgtable_32.h.

#define kpte_clear_flush (   ptep,
  vaddr 
)
Value:
do { \
pte_clear(&init_mm, (vaddr), (ptep)); \
__flush_tlb_one((vaddr)); \
} while (0)

Definition at line 63 of file pgtable_32.h.

#define pte_offset_map (   dir,
  address 
)    ((pte_t *)page_address(pmd_page(*(dir))) + pte_index((address)))

Definition at line 57 of file pgtable_32.h.

#define pte_unmap (   pte)    do { } while (0)

Definition at line 59 of file pgtable_32.h.

#define update_mmu_cache (   vma,
  address,
  ptep 
)    do { } while (0)

Definition at line 73 of file pgtable_32.h.

#define update_mmu_cache_pmd (   vma,
  address,
  pmd 
)    do { } while (0)

Definition at line 74 of file pgtable_32.h.

Function Documentation

void 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 238 of file init.c.

void set_pmd_pfn ( unsigned  long,
unsigned  long,
pgprot_t   
)

Definition at line 35 of file pgtable.c.

Variable Documentation

pgd_t initial_page_table[1024]
pgd_t swapper_pg_dir[1024]

Definition at line 36 of file init.c.