aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjm@kirby.fc.hp.com <djm@kirby.fc.hp.com>2005-09-16 16:53:30 -0600
committerdjm@kirby.fc.hp.com <djm@kirby.fc.hp.com>2005-09-16 16:53:30 -0600
commit91ee629f832b45a78629853834df0800cc598731 (patch)
tree9d47b44501124db7a91e13f5ae5e88467124a3ae
parent9acfff516659ec62ebc875940e3a148341d488c1 (diff)
downloadxen-91ee629f832b45a78629853834df0800cc598731.tar.gz
xen-91ee629f832b45a78629853834df0800cc598731.tar.bz2
xen-91ee629f832b45a78629853834df0800cc598731.zip
PAL cache flush (added during VTI merge) breaks on simulator
-rw-r--r--xen/arch/ia64/xen/domain.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/xen/arch/ia64/xen/domain.c b/xen/arch/ia64/xen/domain.c
index a27879c68d..76914bdc0c 100644
--- a/xen/arch/ia64/xen/domain.c
+++ b/xen/arch/ia64/xen/domain.c
@@ -951,10 +951,12 @@ int construct_dom0(struct domain *d,
// memcpy((void *)vinitrd_start, initrd_start, initrd_len);
/* Sync d/i cache conservatively */
- ret = ia64_pal_cache_flush(4, 0, &progress, NULL);
- if (ret != PAL_STATUS_SUCCESS)
- panic("PAL CACHE FLUSH failed for dom0.\n");
- printk("Sync i/d cache for dom0 image SUCC\n");
+ if (!running_on_sim) {
+ ret = ia64_pal_cache_flush(4, 0, &progress, NULL);
+ if (ret != PAL_STATUS_SUCCESS)
+ panic("PAL CACHE FLUSH failed for dom0.\n");
+ printk("Sync i/d cache for dom0 image SUCC\n");
+ }
/* Set up start info area. */
si = (start_info_t *)alloc_xenheap_page();