|
Linux Kernel
3.7.1
|
#include <asm-generic/pgtable-nopmd.h>#include <linux/sched.h>#include <linux/threads.h>#include <asm/io.h>#include <asm/pte-hash32.h>#include <asm/pte-common.h>Go to the source code of this file.
Functions | |
| unsigned long | va_to_phys (unsigned long address) |
| pte_t * | va_to_pte (unsigned long address) |
| int | flush_hash_pages (unsigned context, unsigned long va, unsigned long pmdval, int count) |
| void | add_hash_page (unsigned context, unsigned long va, unsigned long pmdval) |
| void | flush_hash_entry (struct mm_struct *mm, pte_t *ptep, unsigned long address) |
| int | get_pteptr (struct mm_struct *mm, unsigned long addr, pte_t **ptep, pmd_t **pmdp) |
Variables | |
| unsigned long | ioremap_bot |
| #define __HAVE_ARCH_PTE_SAME |
Definition at line 276 of file pgtable-ppc32.h.
| #define __HAVE_ARCH_PTEP_GET_AND_CLEAR |
Definition at line 249 of file pgtable-ppc32.h.
| #define __HAVE_ARCH_PTEP_SET_WRPROTECT |
Definition at line 256 of file pgtable-ppc32.h.
| #define __HAVE_ARCH_PTEP_TEST_AND_CLEAR_YOUNG |
Definition at line 233 of file pgtable-ppc32.h.
| #define __pte_to_swp_entry | ( | pte | ) | ((swp_entry_t) { pte_val(pte) >> 3 }) |
Definition at line 323 of file pgtable-ppc32.h.
| #define __swp_entry | ( | type, | |
| offset | |||
| ) | ((swp_entry_t) { (type) | ((offset) << 5) }) |
Definition at line 322 of file pgtable-ppc32.h.
Definition at line 324 of file pgtable-ppc32.h.
Definition at line 321 of file pgtable-ppc32.h.
Definition at line 320 of file pgtable-ppc32.h.
| #define FIRST_USER_ADDRESS 0 |
Definition at line 50 of file pgtable-ppc32.h.
| #define IOREMAP_TOP KVIRT_TOP |
Definition at line 77 of file pgtable-ppc32.h.
| #define KVIRT_TOP (0xfe000000UL) /* for now, could be FIXMAP_BASE ? */ |
Definition at line 66 of file pgtable-ppc32.h.
Definition at line 55 of file pgtable-ppc32.h.
| #define pgd_index | ( | address | ) | ((address) >> PGDIR_SHIFT) |
Definition at line 302 of file pgtable-ppc32.h.
Definition at line 303 of file pgtable-ppc32.h.
| #define pgd_offset_k | ( | address | ) | pgd_offset(&init_mm, address) |
Definition at line 299 of file pgtable-ppc32.h.
| #define PGD_TABLE_SIZE (sizeof(pgd_t) << (32 - PGDIR_SHIFT)) |
Definition at line 42 of file pgtable-ppc32.h.
| #define PGDIR_MASK (~(PGDIR_SIZE-1)) |
Definition at line 34 of file pgtable-ppc32.h.
| #define PGDIR_SHIFT (PAGE_SHIFT + PTE_SHIFT) |
Definition at line 32 of file pgtable-ppc32.h.
| #define PGDIR_SIZE (1UL << PGDIR_SHIFT) |
Definition at line 33 of file pgtable-ppc32.h.
| #define pgoff_to_pte | ( | off | ) | ((pte_t) { ((off) << 3) | _PAGE_FILE }) |
Definition at line 329 of file pgtable-ppc32.h.
| #define pgtable_cache_init | ( | void | ) | do { } while (0) |
Definition at line 334 of file pgtable-ppc32.h.
Definition at line 133 of file pgtable-ppc32.h.
| #define pmd_clear | ( | pmdp | ) | do { pmd_val(*(pmdp)) = 0; } while (0) |
Definition at line 135 of file pgtable-ppc32.h.
Definition at line 132 of file pgtable-ppc32.h.
| #define pmd_page | ( | pmd | ) | pfn_to_page(pmd_val(pmd) >> PAGE_SHIFT) |
Definition at line 289 of file pgtable-ppc32.h.
Definition at line 287 of file pgtable-ppc32.h.
| #define pmd_present | ( | pmd | ) | (pmd_val(pmd) & _PMD_PRESENT_MASK) |
Definition at line 134 of file pgtable-ppc32.h.
| #define pte_clear | ( | mm, | |
| addr, | |||
| ptep | |||
| ) | do { pte_update(ptep, ~_PAGE_HASHPTE, 0); } while (0) |
Definition at line 129 of file pgtable-ppc32.h.
| #define pte_ERROR | ( | e | ) |
Definition at line 52 of file pgtable-ppc32.h.
| #define PTE_FILE_MAX_BITS 29 |
Definition at line 327 of file pgtable-ppc32.h.
| #define pte_index | ( | address | ) | (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) |
Definition at line 306 of file pgtable-ppc32.h.
Definition at line 308 of file pgtable-ppc32.h.
Definition at line 310 of file pgtable-ppc32.h.
Definition at line 277 of file pgtable-ppc32.h.
Definition at line 41 of file pgtable-ppc32.h.
Definition at line 328 of file pgtable-ppc32.h.
| #define pte_unmap | ( | pte | ) | kunmap_atomic(pte) |
Definition at line 312 of file pgtable-ppc32.h.
| #define ptep_test_and_clear_young | ( | __vma, | |
| __addr, | |||
| __ptep | |||
| ) | __ptep_test_and_clear_young((__vma)->vm_mm->context.id, __addr, __ptep) |
Definition at line 246 of file pgtable-ppc32.h.
| #define PTRS_PER_PGD (1 << (32 - PGDIR_SHIFT)) |
Definition at line 47 of file pgtable-ppc32.h.
| #define PTRS_PER_PMD 1 |
Definition at line 46 of file pgtable-ppc32.h.
| #define PTRS_PER_PTE (1 << PTE_SHIFT) |
Definition at line 45 of file pgtable-ppc32.h.
| #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) |
Definition at line 49 of file pgtable-ppc32.h.
| #define VMALLOC_END ioremap_bot |
Definition at line 103 of file pgtable-ppc32.h.
| #define VMALLOC_OFFSET (0x1000000) /* 16M */ |
Definition at line 97 of file pgtable-ppc32.h.
| #define VMALLOC_START ((((long)high_memory + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1))) |
Definition at line 101 of file pgtable-ppc32.h.
Definition at line 40 of file tlb_hash32.c.
Definition at line 357 of file pgtable_32.c.
1.8.2