aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-i386/fixmap.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2007-05-02 13:27:13 -0400
committerAndi Kleen <andi@basil.nowhere.org>2007-05-02 13:27:13 -0400
commit90caccb9758e88db68a69553689baee38254287b (patch)
treed58d07649c62475810cfa527768034163c89eb15 /include/asm-i386/fixmap.h
parentb239fb2501117bf3aeb4dd6926edd855be92333d (diff)
[PATCH] i386: PARAVIRT: Allocate a fixmap slot
Allocate a fixmap slot for use by a paravirt_ops implementation. This is intended for early-boot bootstrap mappings. Once the zones and allocator have been set up, it would be better to use get_vm_area() to allocate some virtual space. Xen uses this to map the hypervisor's shared info page, which doesn't have a pseudo-physical page number, and therefore can't be mapped ordinarily. It is needed early because it contains the vcpu state, including the interrupt mask. Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com> Signed-off-by: Andi Kleen <ak@suse.de> Acked-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-i386/fixmap.h')
-rw-r--r--include/asm-i386/fixmap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-i386/fixmap.h b/include/asm-i386/fixmap.h
index e5651b2a585a..80ea052ee3a4 100644
--- a/include/asm-i386/fixmap.h
+++ b/include/asm-i386/fixmap.h
@@ -84,6 +84,9 @@ enum fixed_addresses {
84#ifdef CONFIG_PCI_MMCONFIG 84#ifdef CONFIG_PCI_MMCONFIG
85 FIX_PCIE_MCFG, 85 FIX_PCIE_MCFG,
86#endif 86#endif
87#ifdef CONFIG_PARAVIRT
88 FIX_PARAVIRT_BOOTMAP,
89#endif
87 __end_of_permanent_fixed_addresses, 90 __end_of_permanent_fixed_addresses,
88 /* temporary boot-time mappings, used before ioremap() is functional */ 91 /* temporary boot-time mappings, used before ioremap() is functional */
89#define NR_FIX_BTMAPS 16 92#define NR_FIX_BTMAPS 16