Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
pgtable.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/vmalloc.h>
#include <linux/init.h>
#include <asm/pgtable.h>
#include <asm/pgalloc.h>
#include <linux/io.h>
#include <asm/mmu.h>
#include <asm/sections.h>
#include <asm/fixmap.h>

Go to the source code of this file.

Macros

#define flush_HPTE(X, va, pg)   _tlbie(va)
 
#define is_power_of_2(x)   ((x) != 0 && (((x) & ((x) - 1)) == 0))
 

Functions

 EXPORT_SYMBOL (ioremap_bot)
 
void __iomemioremap (phys_addr_t addr, unsigned long size)
 
 EXPORT_SYMBOL (ioremap)
 
void iounmap (void *addr)
 
 EXPORT_SYMBOL (iounmap)
 
int map_page (unsigned long va, phys_addr_t pa, int flags)
 
void __init mapin_ram (void)
 
unsigned long iopa (unsigned long addr)
 
__init_refok pte_tpte_alloc_one_kernel (struct mm_struct *mm, unsigned long address)
 
void __set_fixmap (enum fixed_addresses idx, phys_addr_t phys, pgprot_t flags)
 

Variables

unsigned long ioremap_base
 
unsigned long ioremap_bot
 
struct pgtable_cache_struct quicklists
 

Macro Definition Documentation

#define flush_HPTE (   X,
  va,
  pg 
)    _tlbie(va)

Definition at line 42 of file pgtable.c.

#define is_power_of_2 (   x)    ((x) != 0 && (((x) & ((x) - 1)) == 0))

Definition at line 186 of file pgtable.c.

Function Documentation

void __set_fixmap ( enum fixed_addresses  idx,
phys_addr_t  phys,
pgprot_t  flags 
)

Definition at line 254 of file pgtable.c.

EXPORT_SYMBOL ( ioremap_bot  )
EXPORT_SYMBOL ( ioremap  )
EXPORT_SYMBOL ( iounmap  )
unsigned long iopa ( unsigned long  addr)

Definition at line 217 of file pgtable.c.

void __iomem* ioremap ( phys_addr_t  addr,
unsigned long  size 
)

Definition at line 125 of file pgtable.c.

void iounmap ( void addr)

Definition at line 131 of file pgtable.c.

int map_page ( unsigned long  va,
phys_addr_t  pa,
int  flags 
)

Definition at line 139 of file pgtable.c.

void __init mapin_ram ( void  )

Definition at line 164 of file pgtable.c.

__init_refok pte_t* pte_alloc_one_kernel ( struct mm_struct mm,
unsigned long  address 
)
inline

Definition at line 239 of file pgtable.c.

Variable Documentation

unsigned long ioremap_base

Definition at line 44 of file pgtable.c.

unsigned long ioremap_bot

Definition at line 45 of file pgtable.c.

struct pgtable_cache_struct quicklists

Definition at line 49 of file pgtable.c.