Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pgtable_no.h File Reference
#include <asm-generic/4level-fixup.h>
#include <linux/slab.h>
#include <asm/processor.h>
#include <asm/page.h>
#include <asm/io.h>
#include <asm-generic/pgtable.h>

Go to the source code of this file.

Macros

#define pgd_present(pgd)   (1)
 
#define pgd_none(pgd)   (0)
 
#define pgd_bad(pgd)   (0)
 
#define pgd_clear(pgdp)
 
#define kern_addr_valid(addr)   (1)
 
#define pmd_offset(a, b)   ((void *)0)
 
#define PAGE_NONE   __pgprot(0)
 
#define PAGE_SHARED   __pgprot(0)
 
#define PAGE_COPY   __pgprot(0)
 
#define PAGE_READONLY   __pgprot(0)
 
#define PAGE_KERNEL   __pgprot(0)
 
#define swapper_pg_dir   ((pgd_t *) 0)
 
#define __swp_type(x)   (0)
 
#define __swp_offset(x)   (0)
 
#define __swp_entry(typ, off)   ((swp_entry_t) { ((typ) | ((off) << 7)) })
 
#define __pte_to_swp_entry(pte)   ((swp_entry_t) { pte_val(pte) })
 
#define __swp_entry_to_pte(x)   ((pte_t) { (x).val })
 
#define ZERO_PAGE(vaddr)   (virt_to_page(0))
 
#define pgtable_cache_init()   do { } while (0)
 
#define io_remap_pfn_range(vma, vaddr, pfn, size, prot)   remap_pfn_range(vma, vaddr, pfn, size, prot)
 
#define VMALLOC_START   0
 
#define VMALLOC_END   0xffffffff
 
#define check_pgt_cache()   do { } while (0)
 

Functions

void paging_init (void)
 
unsigned int kobjsize (const void *objp)
 

Macro Definition Documentation

#define __pte_to_swp_entry (   pte)    ((swp_entry_t) { pte_val(pte) })

Definition at line 37 of file pgtable_no.h.

#define __swp_entry (   typ,
  off 
)    ((swp_entry_t) { ((typ) | ((off) << 7)) })

Definition at line 36 of file pgtable_no.h.

#define __swp_entry_to_pte (   x)    ((pte_t) { (x).val })

Definition at line 38 of file pgtable_no.h.

#define __swp_offset (   x)    (0)

Definition at line 35 of file pgtable_no.h.

#define __swp_type (   x)    (0)

Definition at line 34 of file pgtable_no.h.

#define check_pgt_cache (   void)    do { } while (0)

Definition at line 70 of file pgtable_no.h.

#define io_remap_pfn_range (   vma,
  vaddr,
  pfn,
  size,
  prot 
)    remap_pfn_range(vma, vaddr, pfn, size, prot)

Definition at line 58 of file pgtable_no.h.

#define kern_addr_valid (   addr)    (1)

Definition at line 22 of file pgtable_no.h.

#define PAGE_COPY   __pgprot(0)

Definition at line 27 of file pgtable_no.h.

#define PAGE_KERNEL   __pgprot(0)

Definition at line 29 of file pgtable_no.h.

#define PAGE_NONE   __pgprot(0)

Definition at line 25 of file pgtable_no.h.

#define PAGE_READONLY   __pgprot(0)

Definition at line 28 of file pgtable_no.h.

#define PAGE_SHARED   __pgprot(0)

Definition at line 26 of file pgtable_no.h.

#define pgd_bad (   pgd)    (0)

Definition at line 20 of file pgtable_no.h.

#define pgd_clear (   pgdp)

Definition at line 21 of file pgtable_no.h.

#define pgd_none (   pgd)    (0)

Definition at line 19 of file pgtable_no.h.

#define pgd_present (   pgd)    (1)

Definition at line 18 of file pgtable_no.h.

#define pgtable_cache_init (   void)    do { } while (0)

Definition at line 56 of file pgtable_no.h.

#define pmd_offset (   a,
  b 
)    ((void *)0)

Definition at line 23 of file pgtable_no.h.

#define swapper_pg_dir   ((pgd_t *) 0)

Definition at line 32 of file pgtable_no.h.

#define VMALLOC_END   0xffffffff

Definition at line 66 of file pgtable_no.h.

#define VMALLOC_START   0

Definition at line 65 of file pgtable_no.h.

#define ZERO_PAGE (   vaddr)    (virt_to_page(0))

Definition at line 46 of file pgtable_no.h.

Function Documentation

unsigned int kobjsize ( const void objp)

Definition at line 86 of file nommu.c.

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.