Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HM9Rn-0006PA-Pn for qemu-devel@nongnu.org; Tue, 27 Feb 2007 16:01:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HM9Rm-0006Ox-8p for qemu-devel@nongnu.org; Tue, 27 Feb 2007 16:01:19 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HM9Rm-0006Ou-4m for qemu-devel@nongnu.org; Tue, 27 Feb 2007 16:01:18 -0500 Received: from bay0-omc3-s24.bay0.hotmail.com ([65.54.246.224]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HM9Rl-00062x-LN for qemu-devel@nongnu.org; Tue, 27 Feb 2007 16:01:17 -0500 Message-ID: In-Reply-To: From: "Blue Swirl" Subject: RE: [Qemu-devel] sparc32 bug/misfeature Date: Tue, 27 Feb 2007 22:01:12 +0100 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: pjcreath+openbios@gmail.com Cc: qemu-devel@nongnu.org >hw/sun4m.c, line 154: > > m48t59_write(nvram, i++, 0x80); /* Sun4m OBP */ > >This is not a machine type recognized by SunOS (and probably other >early versions of Solaris). According to idprom.h (some which is >quoted at http://www.sunmanagers.org/archives/1993/0050.html), the >only recognized sun4m IDs are: > >#define IDM_SUN4M_690 0x71 /* SPARCsystem 600 series */ >#define IDM_SUN4M_50 0x72 /* Campus 2 */ > >A SparcStation 10 is IDM_SUN4M_50. SunOS tries to print an error >message and panic() if the machine ID is neither 0x71 or 0x72. (It >fails with a data access exception because some of the devices haven't >been mapped yet.) > >So this either needs to be changed to 0x72 or there needs to be some >way to configure qemu to specify the machine ID from the command line >(or config file). In Linux the IDs are listed in include/asm-sparc/machines.h, there are much more than just these two. Qemu currently emulates a SparcStation-5 with OBP v3, which has the ID 0x80. Adding new machines to Qemu is easy, though OpenBIOS needs to be updated as well. _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/