xen-devel
[Xen-devel] [patch 07/34] Xen-pv_ops: Allocate a fixmap slot
To: |
Andi Kleen <ak@xxxxxx> |
Subject: |
[Xen-devel] [patch 07/34] Xen-pv_ops: Allocate a fixmap slot |
From: |
Jeremy Fitzhardinge <jeremy@xxxxxxxx> |
Date: |
Tue, 13 Mar 2007 16:30:24 -0700 |
Cc: |
Zachary Amsden <zach@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Rusty Russell <rusty@xxxxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, Chris Wright <chrisw@xxxxxxxxxxxx>, virtualization@xxxxxxxxxxxxxx, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> |
Delivery-date: |
Tue, 13 Mar 2007 16:37:04 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxx |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
References: |
<20070313233017.933601256@xxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
User-agent: |
quilt/0.46-1 |
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@xxxxxxxxxxxxx>
---
include/asm-i386/fixmap.h | 3 +++
1 file changed, 3 insertions(+)
===================================================================
--- a/include/asm-i386/fixmap.h
+++ b/include/asm-i386/fixmap.h
@@ -86,6 +86,9 @@ enum fixed_addresses {
#ifdef CONFIG_PCI_MMCONFIG
FIX_PCIE_MCFG,
#endif
+#ifdef CONFIG_PARAVIRT
+ FIX_PARAVIRT_BOOTMAP,
+#endif
__end_of_permanent_fixed_addresses,
/* temporary boot-time mappings, used before ioremap() is functional */
#define NR_FIX_BTMAPS 16
--
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [patch 04/34] Xen-pv_ops: use paravirt_nop to consistently mark no-op operations, (continued)
- [Xen-devel] [patch 04/34] Xen-pv_ops: use paravirt_nop to consistently mark no-op operations, Jeremy Fitzhardinge
- [Xen-devel] [patch 03/34] Xen-pv_ops: update MAINTAINERS, Jeremy Fitzhardinge
- [Xen-devel] [patch 01/34] Xen-pv_ops: Fix typo in sync_constant_test_bit()s name., Jeremy Fitzhardinge
- [Xen-devel] [patch 02/34] Xen-pv_ops: ignore vgacon if hardware not present, Jeremy Fitzhardinge
- [Xen-devel] [patch 05/34] Xen-pv_ops: Add pagetable accessors to pack and unpack pagetable entries, Jeremy Fitzhardinge
- [Xen-devel] [patch 10/34] Xen-pv_ops: Simplify smp_call_function*() by using common implementation, Jeremy Fitzhardinge
- [Xen-devel] [patch 08/34] Xen-pv_ops: Allow paravirt backend to choose kernel PMD sharing, Jeremy Fitzhardinge
- [Xen-devel] [patch 09/34] Xen-pv_ops: add hooks to intercept mm creation and destruction, Jeremy Fitzhardinge
- [Xen-devel] [patch 06/34] Xen-pv_ops: Hooks to set up initial pagetable, Jeremy Fitzhardinge
- [Xen-devel] [patch 07/34] Xen-pv_ops: Allocate a fixmap slot,
Jeremy Fitzhardinge <=
- [Xen-devel] [patch 11/34] Xen-pv_ops: Add smp_ops interface, Jeremy Fitzhardinge
- [Xen-devel] [patch 14/34] Xen-pv_ops: Fix patch site clobbers to include return register, Jeremy Fitzhardinge
- [Xen-devel] [patch 12/34] Xen-pv_ops: rename struct paravirt_patch to paravirt_patch_site for clarity, Jeremy Fitzhardinge
- [Xen-devel] [patch 13/34] Xen-pv_ops: Use patch site IDs computed from offset in paravirt_ops structure, Jeremy Fitzhardinge
- [Xen-devel] [patch 16/34] Xen-pv_ops: add common patching machinery, Jeremy Fitzhardinge
- [Xen-devel] [patch 17/34] Xen-pv_ops: add flush_tlb_others paravirt_op, Jeremy Fitzhardinge
- [Xen-devel] [patch 21/34] Xen-pv_ops: Allocate and free vmalloc areas, Jeremy Fitzhardinge
- [Xen-devel] [patch 15/34] Xen-pv_ops: Consistently wrap paravirt ops callsites to make them patchable, Jeremy Fitzhardinge
- [Xen-devel] [patch 23/34] Xen-pv_ops: Add XEN config options, Jeremy Fitzhardinge
- [Xen-devel] [patch 22/34] Xen-pv_ops: Add nosegneg capability to the vsyscall page notes, Jeremy Fitzhardinge
|
|
|