[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [OpenBIOS] [Qemu-devel] Re: What is the current support state for Sp
Re: [OpenBIOS] [Qemu-devel] Re: What is the current support state for Sparc emulation
Fri, 20 Jul 2007 16:11:00 +0300
> Maybe write_long should handle unaligned addresses?
Possibly. But something is wrong.
Unaligned accesses should be done with unaligned-l@ ( addr -- quad )
instead of address@hidden
So either the pointer was calculated wrong or Solaris does not care
about alignment in l@
If you change it, please make the change specific to sparc.
I noticed that the memory allocators either don't enforce alignment or
align just to 4. That could be one reason for the problem.