qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] running (open) solaris on sparc32
@ 2007-02-27 11:57 Markus Schiltknecht
  2007-02-27 14:55 ` Peter
  2007-02-27 21:06 ` Blue Swirl
  0 siblings, 2 replies; 4+ messages in thread
From: Markus Schiltknecht @ 2007-02-27 11:57 UTC (permalink / raw)
  To: Qemu-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE: [Qemu-devel] running (open) solaris on sparc32
@ 2007-02-27 15:38 Paul Robinson
  0 siblings, 0 replies; 4+ messages in thread
From: Paul Robinson @ 2007-02-27 15:38 UTC (permalink / raw)
  To: qemu-devel

> -----Original Message-----
> From: 
> qemu-devel-bounces+...@nongnu.org 
> [mailto:qemu-devel-bounces+...@nongnu.o
> 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 <markus@bluegap.ch> 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
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-02-27 21:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-27 11:57 [Qemu-devel] running (open) solaris on sparc32 Markus Schiltknecht
2007-02-27 14:55 ` Peter
2007-02-27 21:06 ` Blue Swirl
  -- strict thread matches above, loose matches on Subject: below --
2007-02-27 15:38 Paul Robinson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).