~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/m68k/include/asm/pgtable_no.h

Version: ~ [ linux-5.4-rc1 ] ~ [ linux-5.3.2 ] ~ [ linux-5.2.18 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.76 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.146 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.194 ] ~ [ linux-4.8.17 ] ~ [ linux-4.7.10 ] ~ [ linux-4.6.7 ] ~ [ linux-4.5.7 ] ~ [ linux-4.4.194 ] ~ [ linux-4.3.6 ] ~ [ linux-4.2.8 ] ~ [ linux-4.1.52 ] ~ [ linux-4.0.9 ] ~ [ linux-3.19.8 ] ~ [ linux-3.18.140 ] ~ [ linux-3.17.8 ] ~ [ linux-3.16.74 ] ~ [ linux-3.15.10 ] ~ [ linux-3.14.79 ] ~ [ linux-3.13.11 ] ~ [ linux-3.12.74 ] ~ [ linux-3.11.10 ] ~ [ linux-3.10.108 ] ~ [ linux-3.9.11 ] ~ [ linux-3.8.13 ] ~ [ linux-3.7.10 ] ~ [ linux-3.6.11 ] ~ [ linux-3.5.7 ] ~ [ linux-3.4.113 ] ~ [ linux-3.3.8 ] ~ [ linux-3.2.102 ] ~ [ linux-3.1.10 ] ~ [ linux-3.0.101 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.5 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 #ifndef _M68KNOMMU_PGTABLE_H
  2 #define _M68KNOMMU_PGTABLE_H
  3 
  4 #include <asm-generic/4level-fixup.h>
  5 
  6 /*
  7  * (C) Copyright 2000-2002, Greg Ungerer <gerg@snapgear.com>
  8  */
  9 
 10 #include <linux/slab.h>
 11 #include <asm/processor.h>
 12 #include <asm/page.h>
 13 #include <asm/io.h>
 14 
 15 /*
 16  * Trivial page table functions.
 17  */
 18 #define pgd_present(pgd)        (1)
 19 #define pgd_none(pgd)           (0)
 20 #define pgd_bad(pgd)            (0)
 21 #define pgd_clear(pgdp)
 22 #define kern_addr_valid(addr)   (1)
 23 #define pmd_offset(a, b)        ((void *)0)
 24 
 25 #define PAGE_NONE       __pgprot(0)
 26 #define PAGE_SHARED     __pgprot(0)
 27 #define PAGE_COPY       __pgprot(0)
 28 #define PAGE_READONLY   __pgprot(0)
 29 #define PAGE_KERNEL     __pgprot(0)
 30 
 31 extern void paging_init(void);
 32 #define swapper_pg_dir ((pgd_t *) 0)
 33 
 34 #define __swp_type(x)           (0)
 35 #define __swp_offset(x)         (0)
 36 #define __swp_entry(typ,off)    ((swp_entry_t) { ((typ) | ((off) << 7)) })
 37 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
 38 #define __swp_entry_to_pte(x)   ((pte_t) { (x).val })
 39 
 40 /*
 41  * ZERO_PAGE is a global shared page that is always zero: used
 42  * for zero-mapped memory areas etc..
 43  */
 44 #define ZERO_PAGE(vaddr)        (virt_to_page(0))
 45 
 46 /*
 47  * No page table caches to initialise.
 48  */
 49 #define pgtable_cache_init()    do { } while (0)
 50 
 51 /*
 52  * All 32bit addresses are effectively valid for vmalloc...
 53  * Sort of meaningless for non-VM targets.
 54  */
 55 #define VMALLOC_START   0
 56 #define VMALLOC_END     0xffffffff
 57 #define KMAP_START      0
 58 #define KMAP_END        0xffffffff
 59 
 60 #include <asm-generic/pgtable.h>
 61 
 62 #define check_pgt_cache()       do { } while (0)
 63 
 64 #endif /* _M68KNOMMU_PGTABLE_H */
 65 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | Wiki (Japanese) | Wiki (English) | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

osdn.jp