> #include "qemu-kvm.h" > #endif > #if defined(CONFIG_USER_ONLY) > @@ -2600,8 +2601,8 @@ void cpu_physical_memory_rw(target_phys_addr_t > addr, uint8_t *buf, phys_ram_dirty[addr1 >> > TARGET_PAGE_BITS] |= (0xff & > ~CODE_DIRTY_FLAG); } > -#ifdef __ia64__ > - kvm_sync_icache((unsigned long)ptr, l); > +#ifdef USE_KVM > + flush_icache_range((unsigned long)ptr, ((unsigned long)ptr)+l);
Are you sure ia64 implement this function for applications ? I didn't find it at my side, so I write it. If not, maybe you can change the patch like the following :) in target-ia64/cpu.h #define flush_icache_range(start, end) kvm_sync_icache(start, (end)-(start)) Or upgrade kvm_sync_icach to comply with flush_icache_range, and change the name to flush_icache_range. Thank you! Xiantao ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel