[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] x86_64, vt-d: Do not include pages 'in xen range' which may be freed



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1232789086 0
# Node ID f0b46b3a9efd7a834febff892d5c42301da7fc78
# Parent  25780232795883ad4ebcb4892962dca56da56dfb
x86_64, vt-d: Do not include pages 'in xen range' which may be freed
to domain heap.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/setup.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 257802327958 -r f0b46b3a9efd xen/arch/x86/setup.c
--- a/xen/arch/x86/setup.c      Fri Jan 23 16:50:09 2009 +0000
+++ b/xen/arch/x86/setup.c      Sat Jan 24 09:24:46 2009 +0000
@@ -1108,8 +1108,8 @@ int xen_in_range(paddr_t start, paddr_t 
     paddr_t xs = 0;
     paddr_t xe = xenheap_phys_end;
 #else
-    paddr_t xs = __pa(&_start);
-    paddr_t xe = __pa(&_end);
+    paddr_t xs = __pa(&_stext);
+    paddr_t xe = __pa(&_etext);
 #endif
 
     return (start < xe) && (end > xs);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.