Go to the documentation of this file.
20 #include <asm/kmap_types.h>
49 #define FIX_N_COLOURS 8
51 #ifdef CONFIG_MIPS_MT_SMTC
71 #define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT)
72 #define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE)
74 #define __fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT))
75 #define __virt_to_fix(x) ((FIXADDR_TOP - ((x)&PAGE_MASK)) >> PAGE_SHIFT)
84 static inline unsigned long fix_to_virt(
const unsigned int idx)
101 static inline unsigned long virt_to_fix(
const unsigned long vaddr)
107 #define kmap_get_fixmap_pte(vaddr) \
108 pte_offset_kernel(pmd_offset(pud_offset(pgd_offset_k(vaddr), (vaddr)), (vaddr)), (vaddr))