Go to the documentation of this file. 1 #ifndef _H8300_PGTABLE_H
2 #define _H8300_PGTABLE_H
6 #include <linux/slab.h>
7 #include <asm/processor.h>
11 #define pgd_present(pgd) (1)
12 #define pgd_none(pgd) (0)
13 #define pgd_bad(pgd) (0)
14 #define pgd_clear(pgdp)
15 #define kern_addr_valid(addr) (1)
16 #define pmd_offset(a, b) ((void *)0)
17 #define pmd_none(pmd) (1)
18 #define pgd_offset_k(adrdress) ((pgd_t *)0)
19 #define pte_offset_kernel(dir, address) ((pte_t *)0)
21 #define PAGE_NONE __pgprot(0)
22 #define PAGE_SHARED __pgprot(0)
23 #define PAGE_COPY __pgprot(0)
24 #define PAGE_READONLY __pgprot(0)
25 #define PAGE_KERNEL __pgprot(0)
28 #define swapper_pg_dir ((pgd_t *) 0)
30 #define __swp_type(x) (0)
31 #define __swp_offset(x) (0)
32 #define __swp_entry(typ,off) ((swp_entry_t) { ((typ) | ((off) << 7)) })
33 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
34 #define __swp_entry_to_pte(x) ((pte_t) { (x).val })
42 #define ZERO_PAGE(vaddr) (virt_to_page(0))
47 extern unsigned int kobjsize(
const void *objp);
53 #define pgtable_cache_init() do { } while (0)
55 #define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \
56 remap_pfn_range(vma, vaddr, pfn, size, prot)
62 #define VMALLOC_START 0
63 #define VMALLOC_END 0xffffffff
69 #define VMALLOC_START 0
70 #define VMALLOC_END 0xffffffff
72 #define arch_enter_lazy_cpu_mode() do {} while (0)