Commit | Line | Data |
---|---|---|
5f0fbf9e NP |
1 | #ifndef _ASM_FIXMAP_H |
2 | #define _ASM_FIXMAP_H | |
3 | ||
a05e54c1 | 4 | #define FIXADDR_START 0xffc00000UL |
836a2418 | 5 | #define FIXADDR_END 0xfff00000UL |
b615bbbf | 6 | #define FIXADDR_TOP (FIXADDR_END - PAGE_SIZE) |
5f0fbf9e | 7 | |
b615bbbf | 8 | #include <asm/kmap_types.h> |
5f0fbf9e | 9 | |
b615bbbf MS |
10 | enum fixed_addresses { |
11 | FIX_KMAP_BEGIN, | |
12 | FIX_KMAP_END = FIX_KMAP_BEGIN + (KM_TYPE_NR * NR_CPUS) - 1, | |
5f0fbf9e | 13 | |
ab0615e2 RV |
14 | /* Support writing RO kernel text via kprobes, jump labels, etc. */ |
15 | FIX_TEXT_POKE0, | |
16 | FIX_TEXT_POKE1, | |
17 | ||
b615bbbf MS |
18 | __end_of_fixed_addresses |
19 | }; | |
5f0fbf9e | 20 | |
99b4ac9a KC |
21 | void __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t prot); |
22 | ||
b615bbbf | 23 | #include <asm-generic/fixmap.h> |
5f0fbf9e NP |
24 | |
25 | #endif |