/[pkg-src]/trunk/kernel26-xen/patches-2.6.25-r1/1064-2.6.25-xen-Some-xen-mmu-pv-ops-implemented.patch |
Annotation of /trunk/kernel26-xen/patches-2.6.25-r1/1064-2.6.25-xen-Some-xen-mmu-pv-ops-implemented.patch
Parent Directory | Revision Log
Revision 606 -
(hide annotations)
(download)
Thu May 22 23:13:13 2008 UTC (16 years ago) by niro
File size: 1243 byte(s)
Thu May 22 23:13:13 2008 UTC (16 years ago) by niro
File size: 1243 byte(s)
-ver bump to 2.6.25-magellan-r1: - linux-2.6.25.4 - fbcondecor-0.9.4 - squashfs-3.3 - unionfs-2.3.3 - tuxonice-3.0-rc7 - linux-phc-0.3.0 - acpi-dstd-0.9a - reiser4 - xen-3.2.0 . ipw3945-1.2.2
1 | niro | 606 | From 9bdd337a97df6e19cc8d518f0cc63451c18476b7 Mon Sep 17 00:00:00 2001 |
2 | From: Eduardo Habkost <ehabkost@redhat.com> | ||
3 | Date: Wed, 12 Dec 2007 16:26:01 -0200 | ||
4 | Subject: [PATCH] Some xen mmu pv-ops implemented | ||
5 | |||
6 | - Lots of debugging messages | ||
7 | - Lots of #ifdefs | ||
8 | |||
9 | Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> | ||
10 | --- | ||
11 | arch/x86/xen/enlighten.c | 7 +++++++ | ||
12 | 1 files changed, 7 insertions(+), 0 deletions(-) | ||
13 | |||
14 | diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c | ||
15 | index 89097b5..49f895c 100644 | ||
16 | --- a/arch/x86/xen/enlighten.c | ||
17 | +++ b/arch/x86/xen/enlighten.c | ||
18 | @@ -1338,12 +1338,19 @@ asmlinkage void __init xen_start_kernel(void) | ||
19 | init_pg_tables_end = __pa(pgd) + xen_start_info->nr_pt_frames*PAGE_SIZE; | ||
20 | #endif | ||
21 | |||
22 | +#ifdef CONFIG_X86_64 | ||
23 | + /* used by alloc_low_page() */ | ||
24 | + start_pfn = PFN_UP(__pa_symbol(xen_start_info->pt_base)) + xen_start_info->nr_pt_frames; | ||
25 | +#endif | ||
26 | + | ||
27 | +#ifdef CONFIG_X86_32 | ||
28 | init_mm.pgd = pgd; /* use the Xen pagetables to start */ | ||
29 | |||
30 | /* keep using Xen gdt for now; no urgent need to change it */ | ||
31 | |||
32 | x86_write_percpu(xen_cr3, __pa(pgd)); | ||
33 | x86_write_percpu(xen_current_cr3, __pa(pgd)); | ||
34 | +#endif | ||
35 | |||
36 | /* Don't do the full vcpu_info placement stuff until we have a | ||
37 | possible map and a non-dummy shared_info. */ | ||
38 | -- | ||
39 | 1.5.4.1 | ||
40 |