Linux Kernel
3.7.1
|
#include <linux/slab.h>
#include <asm/processor.h>
#include <asm/page.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 | PGDIR_SHIFT 21 |
#define | PGDIR_SIZE (1UL << PGDIR_SHIFT) |
#define | PGDIR_MASK (~(PGDIR_SIZE-1)) |
#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 | pgprot_noncached(prot) __pgprot(0) |
#define | pgprot_writecombine(prot) __pgprot(0) |
#define | pgprot_dmacoherent(prot) __pgprot(0) |
#define | pgtable_cache_init() do { } while (0) |
#define | io_remap_pfn_range remap_pfn_range |
#define | VMALLOC_START 0UL |
#define | VMALLOC_END 0xffffffffUL |
#define | FIRST_USER_ADDRESS (0) |
Typedefs | |
typedef pte_t * | pte_addr_t |
Functions | |
unsigned int | kobjsize (const void *objp) |
#define __pte_to_swp_entry | ( | pte | ) | ((swp_entry_t) { pte_val(pte) }) |
Definition at line 51 of file pgtable-nommu.h.
#define __swp_entry | ( | typ, | |
off | |||
) | ((swp_entry_t) { ((typ) | ((off) << 7)) }) |
Definition at line 50 of file pgtable-nommu.h.
Definition at line 52 of file pgtable-nommu.h.
#define __swp_offset | ( | x | ) | (0) |
Definition at line 49 of file pgtable-nommu.h.
#define __swp_type | ( | x | ) | (0) |
Definition at line 48 of file pgtable-nommu.h.
#define FIRST_USER_ADDRESS (0) |
Definition at line 92 of file pgtable-nommu.h.
#define io_remap_pfn_range remap_pfn_range |
Definition at line 82 of file pgtable-nommu.h.
#define kern_addr_valid | ( | addr | ) | (1) |
Definition at line 27 of file pgtable-nommu.h.
#define PAGE_COPY __pgprot(0) |
Definition at line 42 of file pgtable-nommu.h.
#define PAGE_KERNEL __pgprot(0) |
Definition at line 44 of file pgtable-nommu.h.
#define PAGE_NONE __pgprot(0) |
Definition at line 40 of file pgtable-nommu.h.
#define PAGE_READONLY __pgprot(0) |
Definition at line 43 of file pgtable-nommu.h.
#define PAGE_SHARED __pgprot(0) |
Definition at line 41 of file pgtable-nommu.h.
#define pgd_bad | ( | pgd | ) | (0) |
Definition at line 25 of file pgtable-nommu.h.
#define pgd_clear | ( | pgdp | ) |
Definition at line 26 of file pgtable-nommu.h.
#define pgd_none | ( | pgd | ) | (0) |
Definition at line 24 of file pgtable-nommu.h.
#define pgd_present | ( | pgd | ) | (1) |
Definition at line 23 of file pgtable-nommu.h.
#define PGDIR_MASK (~(PGDIR_SIZE-1)) |
Definition at line 37 of file pgtable-nommu.h.
#define PGDIR_SHIFT 21 |
Definition at line 34 of file pgtable-nommu.h.
#define PGDIR_SIZE (1UL << PGDIR_SHIFT) |
Definition at line 36 of file pgtable-nommu.h.
#define pgprot_dmacoherent | ( | prot | ) | __pgprot(0) |
Definition at line 70 of file pgtable-nommu.h.
#define pgprot_noncached | ( | prot | ) | __pgprot(0) |
Definition at line 68 of file pgtable-nommu.h.
#define pgprot_writecombine | ( | prot | ) | __pgprot(0) |
Definition at line 69 of file pgtable-nommu.h.
#define pgtable_cache_init | ( | void | ) | do { } while (0) |
Definition at line 81 of file pgtable-nommu.h.
Definition at line 28 of file pgtable-nommu.h.
#define swapper_pg_dir ((pgd_t *) 0) |
Definition at line 46 of file pgtable-nommu.h.
#define VMALLOC_END 0xffffffffUL |
Definition at line 90 of file pgtable-nommu.h.
#define VMALLOC_START 0UL |
Definition at line 89 of file pgtable-nommu.h.
#define ZERO_PAGE | ( | vaddr | ) | (virt_to_page(0)) |
Definition at line 63 of file pgtable-nommu.h.
typedef pte_t* pte_addr_t |
Definition at line 55 of file pgtable-nommu.h.