WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-arm

[XenARM] [PATCH] Fix warning by allowing paging_mark_dirty to be defined

To: jm77.ryu@xxxxxxxxxxx
Subject: [XenARM] [PATCH] Fix warning by allowing paging_mark_dirty to be defined.
From: "Jean-Christophe DUBOIS" <jcd@xxxxxxxxxxxxxxx>
Date: Thu, 8 Sep 2011 23:06:19 +0200
Cc: xen-arm@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 08 Sep 2011 14:09:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-arm-request@lists.xensource.com?subject=help>
List-id: Xen ARM development <xen-arm.lists.xensource.com>
List-post: <mailto:xen-arm@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-arm>, <mailto:xen-arm-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-arm>, <mailto:xen-arm-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-arm-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.13.6 (Linux/2.6.38-11-generic; KDE/4.6.2; x86_64; ; )
paging_mark_dirty() prototype was not used for now ...

I am not sure this fix is the right one but it does work.

Signed-off-by: Jean-Christophe DUBOIS <jcd@xxxxxxxxxxxxxxx>
---
 xen/include/asm-arm/config.h |    2 ++
 xen/include/asm-arm/paging.h |    4 ++++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/xen/include/asm-arm/config.h b/xen/include/asm-arm/config.h
index c263247..bb7dddc 100644
--- a/xen/include/asm-arm/config.h
+++ b/xen/include/asm-arm/config.h
@@ -3,6 +3,8 @@
 
 #include <asm/arch/config.h>
 
+#define CONFIG_PAGING_ASSISTANCE 1
+
 #ifndef MAX_HVM_VCPUS
 #define MAX_HVM_VCPUS          1
 #endif
diff --git a/xen/include/asm-arm/paging.h b/xen/include/asm-arm/paging.h
index d82150a..3f05ac5 100644
--- a/xen/include/asm-arm/paging.h
+++ b/xen/include/asm-arm/paging.h
@@ -32,5 +32,9 @@ void paging_mark_dirty(struct domain *d, unsigned long 
guest_mfn);
 /* is this guest page dirty? */
 //int paging_mfn_is_dirty(struct domain *d, mfn_t gmfn);
 
+#define paging_mode_translate(d)              (0)
+#define paging_mode_external(d)               (0)
+#define guest_physmap_add_page(d, p, m, o)    (0)
+#define guest_physmap_remove_page(d, p, m, o) ((void)0)
 
 #endif
-- 
1.7.4.1


_______________________________________________
Xen-arm mailing list
Xen-arm@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-arm

<Prev in Thread] Current Thread [Next in Thread>
  • [XenARM] [PATCH] Fix warning by allowing paging_mark_dirty to be defined., Jean-Christophe DUBOIS <=