Go to the documentation of this file.
19 #ifndef __ASM_OPENRISC_FIXMAP_H
20 #define __ASM_OPENRISC_FIXMAP_H
27 #define FIXADDR_TOP ((unsigned long) (-2*PAGE_SIZE))
29 #include <linux/kernel.h>
46 #define FIX_N_IOREMAPS 32
52 #define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT)
54 #define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE)
56 #define __fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT))
57 #define __virt_to_fix(x) ((FIXADDR_TOP - ((x)&PAGE_MASK)) >> PAGE_SHIFT)
81 static inline unsigned long virt_to_fix(
const unsigned long vaddr)