fixmap.h (07cad4dc1bfdaefd20c6329e9d8179ad1c600e92) | fixmap.h (4d35b93a66e9b87df20784fcf130d2e8760be53f) |
---|---|
1/* 2 * fixmap.h: compile-time virtual memory allocation 3 * 4 * This file is subject to the terms and conditions of the GNU General Public 5 * License. See the file "COPYING" in the main directory of this archive 6 * for more details. 7 * 8 * Copyright (C) 1998 Ingo Molnar --- 46 unchanged lines hidden (view full) --- 55#define FIX_N_COLOURS 8 56 FIX_CMAP_BEGIN, 57 FIX_CMAP_END = FIX_CMAP_BEGIN + (FIX_N_COLOURS * NR_CPUS) - 1, 58 FIX_UNCACHED, 59#ifdef CONFIG_HIGHMEM 60 FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */ 61 FIX_KMAP_END = FIX_KMAP_BEGIN+(KM_TYPE_NR*NR_CPUS)-1, 62#endif | 1/* 2 * fixmap.h: compile-time virtual memory allocation 3 * 4 * This file is subject to the terms and conditions of the GNU General Public 5 * License. See the file "COPYING" in the main directory of this archive 6 * for more details. 7 * 8 * Copyright (C) 1998 Ingo Molnar --- 46 unchanged lines hidden (view full) --- 55#define FIX_N_COLOURS 8 56 FIX_CMAP_BEGIN, 57 FIX_CMAP_END = FIX_CMAP_BEGIN + (FIX_N_COLOURS * NR_CPUS) - 1, 58 FIX_UNCACHED, 59#ifdef CONFIG_HIGHMEM 60 FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */ 61 FIX_KMAP_END = FIX_KMAP_BEGIN+(KM_TYPE_NR*NR_CPUS)-1, 62#endif |
63 /* 64 * FIX_IOREMAP entries are useful for mapping physical address 65 * space before ioremap() is useable, e.g. really early in boot 66 * before kmalloc() is working. 67 */ 68#define FIX_N_IOREMAPS 32 69 FIX_IOREMAP_BEGIN, 70 FIX_IOREMAP_END = FIX_IOREMAP_BEGIN + FIX_N_IOREMAPS, |
|
63 __end_of_fixed_addresses 64}; 65 66extern void __set_fixmap(enum fixed_addresses idx, 67 unsigned long phys, pgprot_t flags); 68extern void __clear_fixmap(enum fixed_addresses idx, pgprot_t flags); 69 70#define set_fixmap(idx, phys) \ --- 54 unchanged lines hidden --- | 71 __end_of_fixed_addresses 72}; 73 74extern void __set_fixmap(enum fixed_addresses idx, 75 unsigned long phys, pgprot_t flags); 76extern void __clear_fixmap(enum fixed_addresses idx, pgprot_t flags); 77 78#define set_fixmap(idx, phys) \ --- 54 unchanged lines hidden --- |