All of lore.kernel.org
 help / color / mirror / Atom feed
* 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

* RE: [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
  1 sibling, 0 replies; 4+ messages in thread
From: Blue Swirl @ 2007-02-27 21:06 UTC (permalink / raw)
  To: markus; +Cc: qemu-devel

>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?

OpenBIOS for Qemu was developed against Linux, which does not need too much 
from the BIOS. Other kernels are much more picky, but basically debugging 
should do it. Just try one, see where it fails, find the relevant lines in 
the source and fix the bug...

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

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

* Re: [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
  1 sibling, 0 replies; 4+ messages in thread
From: Peter @ 2007-02-27 14:55 UTC (permalink / raw)
  To: qemu-devel

There are a number of bugs in OpenBIOS, and at least one in qemu.
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
>

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

* [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

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 15:38 [Qemu-devel] running (open) solaris on sparc32 Paul Robinson
  -- strict thread matches above, loose matches on Subject: below --
2007-02-27 11:57 Markus Schiltknecht
2007-02-27 14:55 ` Peter
2007-02-27 21:06 ` Blue Swirl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.