Skip to contentSkip to conversation

Unaligned accesses in i386-softmmu on Sparc host

Qemu-devel Blue Swirl 1 participant 1 message Aug 23, 2008

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Hi,

Now that Sparc emulators work somewhat on Sparc64 host, I tried i386-softmmu, but the first instruction causes a bus error. The crash happens at __ldw_cmmu:
Program received signal SIGBUS, Bus error.
__ldw_cmmu (addr=0xfffffff1, mmu_idx=0x0) at cpu-all.h:242
242 __asm__ __volatile__ ("lduha [%1] %2, %0" : "=r" (val) : "r" (ptr),

I think ALIGNED_ONLY is not enabled, but it should be.