[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 11/12] arm: define max_page
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- xen/arch/arm/dummy.S | 1 - xen/arch/arm/mm.c | 2 ++ xen/arch/arm/setup.c | 2 ++ 3 files changed, 4 insertions(+), 1 deletions(-) diff --git a/xen/arch/arm/dummy.S b/xen/arch/arm/dummy.S index 67edb35..295938e 100644 --- a/xen/arch/arm/dummy.S +++ b/xen/arch/arm/dummy.S @@ -28,7 +28,6 @@ DUMMY(gnttab_clear_flag); DUMMY(gnttab_mark_dirty); DUMMY(hypercall_create_continuation); DUMMY(is_iomem_page); -DUMMY(max_page); DUMMY(node_online_map); DUMMY(nr_irqs_gsi); DUMMY(page_get_owner_and_reference); diff --git a/xen/arch/arm/mm.c b/xen/arch/arm/mm.c index 50c3634..4ec9788 100644 --- a/xen/arch/arm/mm.c +++ b/xen/arch/arm/mm.c @@ -41,6 +41,8 @@ unsigned long xenheap_virt_end; unsigned long frametable_virt_end; +unsigned long max_page; + /* Map a 4k page in a fixmap entry */ void set_fixmap(unsigned map, unsigned long mfn, unsigned attributes) { diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c index 2fcde24..b195813 100644 --- a/xen/arch/arm/setup.c +++ b/xen/arch/arm/setup.c @@ -31,6 +31,7 @@ #include <xen/softirq.h> #include <xen/keyhandler.h> #include <xen/cpu.h> +#include <xen/pfn.h> #include <asm/page.h> #include <asm/current.h> #include <asm/setup.h> @@ -122,6 +123,7 @@ void __init start_xen(unsigned long boot_phys_offset, /* TODO Need to find actual memory, for now use 4GB at 512GB */ setup_frametable_mappings(0x8000000000ULL, 0x8100000000UL); + max_page = PFN_DOWN(0x8100000000UL); /* Add xenheap memory */ init_xenheap_pages(pfn_to_paddr(xenheap_mfn_start+1), -- 1.7.2.5 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |