ia64/xen-unstable

changeset 10003:8b2295822e0d

[IA64] xen: fix vmx_build_physmap_table()

fix vmx_build_physmap_table(). avoid map pages to the area
[VGA_IO_START, VGA_IO_START + VGA_IO_SIZE].

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author awilliam@xenbuild.aw
date Fri May 12 08:55:50 2006 -0600 (2006-05-12)
parents d86236cb824a
children 666bc6079577
files xen/arch/ia64/vmx/vmx_init.c
line diff
     1.1 --- a/xen/arch/ia64/vmx/vmx_init.c	Fri May 12 08:53:49 2006 -0600
     1.2 +++ b/xen/arch/ia64/vmx/vmx_init.c	Fri May 12 08:55:50 2006 -0600
     1.3 @@ -353,6 +353,9 @@ int vmx_build_physmap_table(struct domai
     1.4  	end = VMX_CONFIG_PAGES(d) << PAGE_SHIFT;
     1.5  	tmp = end < MMIO_START ? end : MMIO_START;
     1.6  	for (i = 0; (i < tmp) && (list_ent != &d->page_list); i += PAGE_SIZE) {
     1.7 +        if (VGA_IO_START <= i && i < VGA_IO_START + VGA_IO_SIZE)
     1.8 +            continue;
     1.9 +
    1.10  	    mfn = page_to_mfn(list_entry(
    1.11  		list_ent, struct page_info, list));
    1.12  	    assign_domain_page(d, i, mfn << PAGE_SHIFT);