qemu-devel@nongnu.org
[Top] [All Lists]

Re: [OpenBIOS] [Qemu-devel] Re: What is the current support state for Sp

Subject: Re: [OpenBIOS] [Qemu-devel] Re: What is the current support state for Sparc emulation
From: "Blue Swirl"
Date: 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 l@.

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.


<Prev in Thread] Current Thread [Next in Thread>