[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Qemu-devel] running (open) solaris on sparc32
From: |
Paul Robinson |
Subject: |
RE: [Qemu-devel] running (open) solaris on sparc32 |
Date: |
Tue, 27 Feb 2007 15:38:20 -0000 |
> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> rg] On Behalf Of Peter
> Sent: 27 February 2007 14:55
> To: address@hidden
> 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 <address@hidden> 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
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/qemu-devel
> >
>
>
> _______________________________________________
> Qemu-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
>