Linux Kernel
3.7.1
|
Go to the source code of this file.
Variables | |
int | m68k_pgtable_cachemode |
int | m68k_supervisor_cachemode |
unsigned long | mm_cachebits |
pgd_t | kernel_pg_dir [128] |
#define __P000 PAGE_NONE_C |
Definition at line 79 of file motorola_pgtable.h.
#define __P001 PAGE_READONLY_C |
Definition at line 80 of file motorola_pgtable.h.
#define __P010 PAGE_COPY_C |
Definition at line 81 of file motorola_pgtable.h.
#define __P011 PAGE_COPY_C |
Definition at line 82 of file motorola_pgtable.h.
#define __P100 PAGE_READONLY_C |
Definition at line 83 of file motorola_pgtable.h.
#define __P101 PAGE_READONLY_C |
Definition at line 84 of file motorola_pgtable.h.
#define __P110 PAGE_COPY_C |
Definition at line 85 of file motorola_pgtable.h.
#define __P111 PAGE_COPY_C |
Definition at line 86 of file motorola_pgtable.h.
#define __pgd_page | ( | pgd | ) | ((unsigned long)__va(pgd_val(pgd) & _TABLE_MASK)) |
Definition at line 127 of file motorola_pgtable.h.
Definition at line 126 of file motorola_pgtable.h.
Definition at line 125 of file motorola_pgtable.h.
#define __pte_to_swp_entry | ( | pte | ) | ((swp_entry_t) { pte_val(pte) }) |
Definition at line 286 of file motorola_pgtable.h.
#define __S000 PAGE_NONE_C |
Definition at line 88 of file motorola_pgtable.h.
#define __S001 PAGE_READONLY_C |
Definition at line 89 of file motorola_pgtable.h.
#define __S010 PAGE_SHARED_C |
Definition at line 90 of file motorola_pgtable.h.
#define __S011 PAGE_SHARED_C |
Definition at line 91 of file motorola_pgtable.h.
#define __S100 PAGE_READONLY_C |
Definition at line 92 of file motorola_pgtable.h.
#define __S101 PAGE_READONLY_C |
Definition at line 93 of file motorola_pgtable.h.
#define __S110 PAGE_SHARED_C |
Definition at line 94 of file motorola_pgtable.h.
#define __S111 PAGE_SHARED_C |
Definition at line 95 of file motorola_pgtable.h.
#define __swp_entry | ( | type, | |
offset | |||
) | ((swp_entry_t) { ((type) << 4) | ((offset) << 12) }) |
Definition at line 285 of file motorola_pgtable.h.
Definition at line 287 of file motorola_pgtable.h.
Definition at line 284 of file motorola_pgtable.h.
Definition at line 283 of file motorola_pgtable.h.
#define _CACHEMASK040 (~0x060) |
Definition at line 24 of file motorola_pgtable.h.
#define _DESCTYPE_MASK 0x003 |
Definition at line 22 of file motorola_pgtable.h.
#define _PAGE_ACCESSED 0x008 |
Definition at line 12 of file motorola_pgtable.h.
#define _PAGE_CACHE040 0x020 /* 68040 cache mode, cachable, copyback */ |
Definition at line 19 of file motorola_pgtable.h.
#define _PAGE_CACHE040W 0x000 /* 68040 cache mode, cachable, write-through */ |
Definition at line 20 of file motorola_pgtable.h.
#define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY | _PAGE_NOCACHE) |
Definition at line 28 of file motorola_pgtable.h.
#define _PAGE_DIRTY 0x010 |
Definition at line 13 of file motorola_pgtable.h.
#define _PAGE_FILE 0x008 /* pagecache or swap? */ |
Definition at line 31 of file motorola_pgtable.h.
#define _PAGE_GLOBAL040 0x400 /* 68040 global bit, used for kva descs */ |
Definition at line 15 of file motorola_pgtable.h.
#define _PAGE_NOCACHE 0x060 /* 68040 cache mode, non-serialized */ |
Definition at line 17 of file motorola_pgtable.h.
#define _PAGE_NOCACHE030 0x040 /* 68030 no-cache mode */ |
Definition at line 16 of file motorola_pgtable.h.
#define _PAGE_NOCACHE_S 0x040 /* 68040 no-cache mode, serialized */ |
Definition at line 18 of file motorola_pgtable.h.
#define _PAGE_PRESENT 0x001 |
Definition at line 8 of file motorola_pgtable.h.
#define _PAGE_PROTNONE 0x004 |
Definition at line 30 of file motorola_pgtable.h.
#define _PAGE_READWRITE 0x000 |
Definition at line 11 of file motorola_pgtable.h.
#define _PAGE_RONLY 0x004 |
Definition at line 10 of file motorola_pgtable.h.
#define _PAGE_SHORT 0x002 |
Definition at line 9 of file motorola_pgtable.h.
#define _PAGE_SUPER 0x080 /* 68040 supervisor only */ |
Definition at line 14 of file motorola_pgtable.h.
#define _PAGE_TABLE (_PAGE_SHORT) |
Definition at line 27 of file motorola_pgtable.h.
#define _TABLE_MASK (0xfffffe00) |
Definition at line 25 of file motorola_pgtable.h.
Definition at line 101 of file motorola_pgtable.h.
#define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED | mm_cachebits) |
Definition at line 64 of file motorola_pgtable.h.
#define PAGE_COPY_C __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED) |
Definition at line 72 of file motorola_pgtable.h.
#define PAGE_DIR_OFFSET | ( | tsk, | |
address | |||
) | pgd_offset((tsk),(address)) |
Definition at line 192 of file motorola_pgtable.h.
#define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | _PAGE_ACCESSED | mm_cachebits) |
Definition at line 66 of file motorola_pgtable.h.
#define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED | mm_cachebits) |
Definition at line 62 of file motorola_pgtable.h.
#define PAGE_NONE_C __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED) |
Definition at line 70 of file motorola_pgtable.h.
#define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED | mm_cachebits) |
Definition at line 65 of file motorola_pgtable.h.
#define PAGE_READONLY_C __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED) |
Definition at line 73 of file motorola_pgtable.h.
#define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | mm_cachebits) |
Definition at line 63 of file motorola_pgtable.h.
#define PAGE_SHARED_C __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED) |
Definition at line 71 of file motorola_pgtable.h.
#define pfn_pte | ( | pfn, | |
prot | |||
) | __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) |
Definition at line 136 of file motorola_pgtable.h.
#define pgd_bad | ( | pgd | ) | ((pgd_val(pgd) & _DESCTYPE_MASK) != _PAGE_TABLE) |
Definition at line 151 of file motorola_pgtable.h.
#define pgd_clear | ( | pgdp | ) | ({ pgd_val(*pgdp) = 0; }) |
Definition at line 153 of file motorola_pgtable.h.
Definition at line 160 of file motorola_pgtable.h.
#define pgd_index | ( | address | ) | ((address) >> PGDIR_SHIFT) |
Definition at line 194 of file motorola_pgtable.h.
#define pgd_none | ( | pgd | ) | (!pgd_val(pgd)) |
Definition at line 150 of file motorola_pgtable.h.
#define pgd_page | ( | pgd | ) | (mem_map + ((unsigned long)(__va(pgd_val(pgd)) - PAGE_OFFSET) >> PAGE_SHIFT)) |
Definition at line 154 of file motorola_pgtable.h.
#define pgd_present | ( | pgd | ) | (pgd_val(pgd) & _PAGE_TABLE) |
Definition at line 152 of file motorola_pgtable.h.
#define pmd_bad | ( | pmd | ) | ((pmd_val(pmd) & _DESCTYPE_MASK) != _PAGE_TABLE) |
Definition at line 139 of file motorola_pgtable.h.
#define pmd_clear | ( | pmdp | ) |
Definition at line 141 of file motorola_pgtable.h.
Definition at line 158 of file motorola_pgtable.h.
Definition at line 138 of file motorola_pgtable.h.
#define pmd_page | ( | pmd | ) | virt_to_page(__va(pmd_val(pmd))) |
Definition at line 147 of file motorola_pgtable.h.
#define pmd_present | ( | pmd | ) | (pmd_val(pmd) & _PAGE_TABLE) |
Definition at line 140 of file motorola_pgtable.h.
Definition at line 132 of file motorola_pgtable.h.
Definition at line 156 of file motorola_pgtable.h.
#define PTE_FILE_MAX_BITS 28 |
Definition at line 269 of file motorola_pgtable.h.
Definition at line 130 of file motorola_pgtable.h.
#define pte_offset_map | ( | pmdp, | |
address | |||
) | ((pte_t *)__pmd_page(*pmdp) + (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))) |
Definition at line 224 of file motorola_pgtable.h.
#define pte_page | ( | pte | ) | virt_to_page(__va(pte_val(pte))) |
Definition at line 134 of file motorola_pgtable.h.
#define pte_pfn | ( | pte | ) | (pte_val(pte) >> PAGE_SHIFT) |
Definition at line 135 of file motorola_pgtable.h.
#define pte_present | ( | pte | ) | (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE)) |
Definition at line 131 of file motorola_pgtable.h.
Definition at line 225 of file motorola_pgtable.h.
#define swapper_pg_dir kernel_pg_dir |
Definition at line 203 of file motorola_pgtable.h.
pgd_t kernel_pg_dir[128] |
int m68k_pgtable_cachemode |
int m68k_supervisor_cachemode |
unsigned long mm_cachebits |
Definition at line 43 of file motorola.c.