ia64/xen-unstable

changeset 19082:f0b46b3a9efd

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@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Sat Jan 24 09:24:46 2009 +0000 (2009-01-24)
parents 257802327958
children af2ea4e48669
files xen/arch/x86/setup.c
line diff
     1.1 --- a/xen/arch/x86/setup.c	Fri Jan 23 16:50:09 2009 +0000
     1.2 +++ b/xen/arch/x86/setup.c	Sat Jan 24 09:24:46 2009 +0000
     1.3 @@ -1108,8 +1108,8 @@ int xen_in_range(paddr_t start, paddr_t 
     1.4      paddr_t xs = 0;
     1.5      paddr_t xe = xenheap_phys_end;
     1.6  #else
     1.7 -    paddr_t xs = __pa(&_start);
     1.8 -    paddr_t xe = __pa(&_end);
     1.9 +    paddr_t xs = __pa(&_stext);
    1.10 +    paddr_t xe = __pa(&_etext);
    1.11  #endif
    1.12  
    1.13      return (start < xe) && (end > xs);