ia64/xen-unstable

changeset 6863:b52a48644770

PAL cache flush (added during VTI merge) breaks on simulator
author djm@kirby.fc.hp.com
date Fri Sep 16 16:53:30 2005 -0600 (2005-09-16)
parents 2556621a7759
children aecdccb1a350
files xen/arch/ia64/xen/domain.c
line diff
     1.1 --- a/xen/arch/ia64/xen/domain.c	Fri Sep 16 16:51:55 2005 -0600
     1.2 +++ b/xen/arch/ia64/xen/domain.c	Fri Sep 16 16:53:30 2005 -0600
     1.3 @@ -951,10 +951,12 @@ int construct_dom0(struct domain *d,
     1.4  	//    memcpy((void *)vinitrd_start, initrd_start, initrd_len);
     1.5  
     1.6  	/* Sync d/i cache conservatively */
     1.7 -	ret = ia64_pal_cache_flush(4, 0, &progress, NULL);
     1.8 -	if (ret != PAL_STATUS_SUCCESS)
     1.9 -	    panic("PAL CACHE FLUSH failed for dom0.\n");
    1.10 -	printk("Sync i/d cache for dom0 image SUCC\n");
    1.11 +	if (!running_on_sim) {
    1.12 +	    ret = ia64_pal_cache_flush(4, 0, &progress, NULL);
    1.13 +	    if (ret != PAL_STATUS_SUCCESS)
    1.14 +	        panic("PAL CACHE FLUSH failed for dom0.\n");
    1.15 +	    printk("Sync i/d cache for dom0 image SUCC\n");
    1.16 +	}
    1.17  
    1.18  	/* Set up start info area. */
    1.19  	si = (start_info_t *)alloc_xenheap_page();