|
#define | update_mmu_cache(vma, address, ptep) do { } while (0) |
|
#define | update_mmu_cache_pmd(vma, address, ptep) do { } while (0) |
|
#define | ZERO_PAGE(vaddr) |
|
#define | is_zero_pfn is_zero_pfn |
|
#define | my_zero_pfn(addr) page_to_pfn(ZERO_PAGE(addr)) |
|
#define | PMD_SHIFT 20 |
|
#define | PUD_SHIFT 20 |
|
#define | PGDIR_SHIFT 20 |
|
#define | PMD_SIZE (1UL << PMD_SHIFT) |
|
#define | PMD_MASK (~(PMD_SIZE-1)) |
|
#define | PUD_SIZE (1UL << PUD_SHIFT) |
|
#define | PUD_MASK (~(PUD_SIZE-1)) |
|
#define | PGDIR_SIZE (1UL << PGDIR_SHIFT) |
|
#define | PGDIR_MASK (~(PGDIR_SIZE-1)) |
|
#define | PTRS_PER_PTE 256 |
|
#define | PTRS_PER_PMD 1 |
|
#define | PTRS_PER_PUD 1 |
|
#define | PTRS_PER_PGD 2048 |
|
#define | FIRST_USER_ADDRESS 0 |
|
#define | pte_ERROR(e) printk("%s:%d: bad pte %p.\n", __FILE__, __LINE__, (void *) pte_val(e)) |
|
#define | pmd_ERROR(e) printk("%s:%d: bad pmd %p.\n", __FILE__, __LINE__, (void *) pmd_val(e)) |
|
#define | pud_ERROR(e) printk("%s:%d: bad pud %p.\n", __FILE__, __LINE__, (void *) pud_val(e)) |
|
#define | pgd_ERROR(e) printk("%s:%d: bad pgd %p.\n", __FILE__, __LINE__, (void *) pgd_val(e)) |
|
#define | VMEM_MAX_PHYS ((unsigned long) vmemmap) |
|
#define | _PAGE_CO 0x100 /* HW Change-bit override */ |
|
#define | _PAGE_RO 0x200 /* HW read-only bit */ |
|
#define | _PAGE_INVALID 0x400 /* HW invalid bit */ |
|
#define | _PAGE_SWT 0x001 /* SW pte type bit t */ |
|
#define | _PAGE_SWX 0x002 /* SW pte type bit x */ |
|
#define | _PAGE_SWC 0x004 /* SW pte changed bit (for KVM) */ |
|
#define | _PAGE_SWR 0x008 /* SW pte referenced bit (for KVM) */ |
|
#define | _PAGE_SPECIAL 0x010 /* SW associated with special page */ |
|
#define | __HAVE_ARCH_PTE_SPECIAL |
|
#define | _PAGE_CHG_MASK (PAGE_MASK | _PAGE_SPECIAL | _PAGE_SWC | _PAGE_SWR) |
|
#define | _PAGE_TYPE_EMPTY 0x400 |
|
#define | _PAGE_TYPE_NONE 0x401 |
|
#define | _PAGE_TYPE_SWAP 0x403 |
|
#define | _PAGE_TYPE_FILE 0x601 /* bit 0x002 is used for offset !! */ |
|
#define | _PAGE_TYPE_RO 0x200 |
|
#define | _PAGE_TYPE_RW 0x000 |
|
#define | _HPAGE_TYPE_EMPTY 0x020 /* _SEGMENT_ENTRY_INV */ |
|
#define | _HPAGE_TYPE_NONE 0x220 |
|
#define | _HPAGE_TYPE_RO 0x200 /* _SEGMENT_ENTRY_RO */ |
|
#define | _HPAGE_TYPE_RW 0x000 |
|
#define | _ASCE_SPACE_SWITCH 0x80000000UL /* space switch event */ |
|
#define | _ASCE_ORIGIN_MASK 0x7ffff000UL /* segment table origin */ |
|
#define | _ASCE_PRIVATE_SPACE 0x100 /* private space control */ |
|
#define | _ASCE_ALT_EVENT 0x80 /* storage alteration event control */ |
|
#define | _ASCE_TABLE_LENGTH 0x7f /* 128 x 64 entries = 8k */ |
|
#define | _SEGMENT_ENTRY_ORIGIN 0x7fffffc0UL /* page table origin */ |
|
#define | _SEGMENT_ENTRY_RO 0x200 /* page protection bit */ |
|
#define | _SEGMENT_ENTRY_INV 0x20 /* invalid segment table entry */ |
|
#define | _SEGMENT_ENTRY_COMMON 0x10 /* common segment bit */ |
|
#define | _SEGMENT_ENTRY_PTL 0x0f /* page table length */ |
|
#define | _SEGMENT_ENTRY (_SEGMENT_ENTRY_PTL) |
|
#define | _SEGMENT_ENTRY_EMPTY (_SEGMENT_ENTRY_INV) |
|
#define | RCP_ACC_BITS 0xf0000000UL |
|
#define | RCP_FP_BIT 0x08000000UL |
|
#define | RCP_PCL_BIT 0x00800000UL |
|
#define | RCP_HR_BIT 0x00400000UL |
|
#define | RCP_HC_BIT 0x00200000UL |
|
#define | RCP_GR_BIT 0x00040000UL |
|
#define | RCP_GC_BIT 0x00020000UL |
|
#define | KVM_UR_BIT 0x00008000UL |
|
#define | KVM_UC_BIT 0x00004000UL |
|
#define | _ASCE_USER_BITS |
|
#define | PAGE_NONE __pgprot(_PAGE_TYPE_NONE) |
|
#define | PAGE_RO __pgprot(_PAGE_TYPE_RO) |
|
#define | PAGE_RW __pgprot(_PAGE_TYPE_RW) |
|
#define | PAGE_KERNEL PAGE_RW |
|
#define | PAGE_COPY PAGE_RO |
|
#define | __P000 PAGE_NONE |
|
#define | __P001 PAGE_RO |
|
#define | __P010 PAGE_RO |
|
#define | __P011 PAGE_RO |
|
#define | __P100 PAGE_RO |
|
#define | __P101 PAGE_RO |
|
#define | __P110 PAGE_RO |
|
#define | __P111 PAGE_RO |
|
#define | __S000 PAGE_NONE |
|
#define | __S001 PAGE_RO |
|
#define | __S010 PAGE_RW |
|
#define | __S011 PAGE_RW |
|
#define | __S100 PAGE_RO |
|
#define | __S101 PAGE_RO |
|
#define | __S110 PAGE_RW |
|
#define | __S111 PAGE_RW |
|
#define | __HAVE_ARCH_PMDP_SPLITTING_FLUSH |
|
#define | __HAVE_ARCH_PMDP_SET_ACCESS_FLAGS |
|
#define | __HAVE_ARCH_PMDP_CLEAR_YOUNG_FLUSH |
|
#define | __HAVE_ARCH_PMD_WRITE |
|
#define | __HAVE_ARCH_PTE_SAME |
|
#define | __HAVE_ARCH_PTEP_TEST_AND_CLEAR_YOUNG |
|
#define | __HAVE_ARCH_PTEP_CLEAR_YOUNG_FLUSH |
|
#define | __HAVE_ARCH_PTEP_GET_AND_CLEAR |
|
#define | __HAVE_ARCH_PTEP_MODIFY_PROT_TRANSACTION |
|
#define | __HAVE_ARCH_PTEP_CLEAR_FLUSH |
|
#define | __HAVE_ARCH_PTEP_GET_AND_CLEAR_FULL |
|
#define | __HAVE_ARCH_PTEP_SET_WRPROTECT |
|
#define | __HAVE_ARCH_PTEP_SET_ACCESS_FLAGS |
|
#define | pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) |
|
#define | pud_index(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1)) |
|
#define | pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) |
|
#define | pte_index(address) (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE-1)) |
|
#define | pgd_offset(mm, address) ((mm)->pgd + pgd_index(address)) |
|
#define | pgd_offset_k(address) pgd_offset(&init_mm, address) |
|
#define | pmd_deref(pmd) (pmd_val(pmd) & _SEGMENT_ENTRY_ORIGIN) |
|
#define | pud_deref(pmd) ({ BUG(); 0UL; }) |
|
#define | pgd_deref(pmd) ({ BUG(); 0UL; }) |
|
#define | pud_offset(pgd, address) ((pud_t *) pgd) |
|
#define | pmd_offset(pud, address) ((pmd_t *) pud + pmd_index(address)) |
|
#define | pfn_pte(pfn, pgprot) mk_pte_phys(__pa((pfn) << PAGE_SHIFT),(pgprot)) |
|
#define | pte_pfn(x) (pte_val(x) >> PAGE_SHIFT) |
|
#define | pte_page(x) pfn_to_page(pte_pfn(x)) |
|
#define | pmd_page(pmd) pfn_to_page(pmd_val(pmd) >> PAGE_SHIFT) |
|
#define | pte_offset(pmd, addr) ((pte_t *) pmd_deref(*(pmd)) + pte_index(addr)) |
|
#define | pte_offset_kernel(pmd, address) pte_offset(pmd,address) |
|
#define | pte_offset_map(pmd, address) pte_offset_kernel(pmd, address) |
|
#define | pte_unmap(pte) do { } while (0) |
|
#define | __SWP_OFFSET_MASK (~0UL >> 12) |
|
#define | __swp_type(entry) (((entry).val >> 2) & 0x1f) |
|
#define | __swp_offset(entry) (((entry).val >> 11) | (((entry).val >> 7) & 1)) |
|
#define | __swp_entry(type, offset) ((swp_entry_t) { pte_val(mk_swap_pte((type),(offset))) }) |
|
#define | __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) |
|
#define | __swp_entry_to_pte(x) ((pte_t) { (x).val }) |
|
#define | PTE_FILE_MAX_BITS 26 |
|
#define | pte_to_pgoff(__pte) ((((__pte).pte >> 12) << 7) + (((__pte).pte >> 1) & 0x7f)) |
|
#define | pgoff_to_pte(__off) |
|
#define | kern_addr_valid(addr) (1) |
|
#define | pgtable_cache_init() do { } while (0) |
|