]> xenbits.xensource.com Git - people/aperard/xen-arm.git/commitdiff
xen: arm: implement share_xen_page_with_privileged_guests
authorIan Campbell <ian.campbell@citrix.com>
Wed, 19 Dec 2012 14:16:27 +0000 (14:16 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 19 Dec 2012 14:16:27 +0000 (14:16 +0000)
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/dummy.S
xen/arch/arm/mm.c

index 3497afa473f6530b21f5b6b1d75718b53c303b03..6416f949cff3b607cf2fc25e9caf52d66f160f40 100644 (file)
@@ -8,6 +8,3 @@ x:      mov pc, lr
        
 /* PIRQ support */
 DUMMY(nr_irqs_gsi);
-
-/* Other */
-DUMMY(share_xen_page_with_privileged_guests);
index d9c1ff71e3f70fcf21f7078a7d283a3b02461448..d97b3ea4afc664c67b8bc0ca279a87b7c29681d3 100644 (file)
@@ -506,6 +506,12 @@ void share_xen_page_with_guest(struct page_info *page,
     spin_unlock(&d->page_alloc_lock);
 }
 
+void share_xen_page_with_privileged_guests(
+    struct page_info *page, int readonly)
+{
+    share_xen_page_with_guest(page, dom_xen, readonly);
+}
+
 static int xenmem_add_to_physmap_one(
     struct domain *d,
     uint16_t space,