> -----Original Message----- > From: > [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > rg] On Behalf Of Peter > Sent: 27 February 2007 14:55 > To: qemu-devel@nongnu.org > Subject: Re: [Qemu-devel] running (open) solaris on sparc32 > > There are a number of bugs in OpenBIOS, and at least one in qemu.
Does this help ? patch against target-sparc/op.c rev 1.24: --- op.c 2007-02-27 15:12:33.620518259 +0000 +++ op-with-fixes.c 2007-02-27 15:23:50.525384285 +0000 @@ -775,7 +775,7 @@ void OPPROTO op_sll(void) { - T0 <<= T1; + T0 <<= (T1 & 0x1f); } #ifdef TARGET_SPARC64 @@ -801,12 +801,12 @@ #else void OPPROTO op_srl(void) { - T0 >>= T1; + T0 >>= (T1 & 0x1f); } void OPPROTO op_sra(void) { - T0 = ((int32_t) T0) >> T1; + T0 = ((int32_t) T0) >> (T1 & 0x1f); } #endif The SPARC Architecture Manual version 8 says on p107, "The shift count for these instructions is the least significant five bits of r[rs2]". > Your best bet is to check the OpenBIOS mailing list, where > I've discussed a number of the OpenBIOS issues. > > On 2/27/07, Markus Schiltknecht <[EMAIL PROTECTED]> wrote: > > Hi, > > > > the qemu documentation states about sparc emulation: "... > Please note > > that currently NetBSD, OpenBSD or Solaris kernels don't work." > > > > What's needed to get Solaris to word? Or any of the BSDs? > > > > Regards > > > > Markus > > > > > > _______________________________________________ > > Qemu-devel mailing list > > Qemu-devel@nongnu.org > > http://lists.nongnu.org/mailman/listinfo/qemu-devel > > > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel > > _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel