From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HPRTn-0008Rl-NE for qemu-devel@nongnu.org; Thu, 08 Mar 2007 17:52:59 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HPRTm-0008OQ-61 for qemu-devel@nongnu.org; Thu, 08 Mar 2007 17:52:59 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HPRTl-0008Nb-U2 for qemu-devel@nongnu.org; Thu, 08 Mar 2007 17:52:57 -0500 Received: from wr-out-0506.google.com ([64.233.184.227]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HPRTV-0003na-Oz for qemu-devel@nongnu.org; Thu, 08 Mar 2007 17:52:41 -0500 Received: by wr-out-0506.google.com with SMTP id 68so1633298wri for ; Thu, 08 Mar 2007 14:52:41 -0800 (PST) Message-ID: From: "Peter Creath" MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_88324_11768019.1173394361026" Subject: [Qemu-devel] [PATCH] SunOS 4.x support Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Thu, 08 Mar 2007 22:53:00 -0000 To: qemu-devel@nongnu.org ------=_Part_88324_11768019.1173394361026 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Old versions of SunOS don't understand the "Sun4m with OBP" machine type of 0x80. They expect the machine type of actual Sun machines, e.g., 0x71 or 0x72. This patch adds a machine type to the Sparc target and renames the old machine to clarify that it's emulating an OBP platform rather than standard hardware. The default behavior (without a -M flag) will be the same (using machine type of 0x80/OBP), but the explicit name for the OBP platform is now "sun4m-obp". Plain old "sun4m" mimics real hardware. This patch doesn't make SunOS 4.x boot completely under qemu, as both machines still use OpenBIOS as their boot rom, and there are a bunch of OpenBIOS incompatibilies with SunOS. I've submitted a patch to fix a number of them to the OpenBIOS mailing list, but there are still some glitches keeping the machine from booting. But this patch is necessary to boot SunOS 4.x. ------=_Part_88324_11768019.1173394361026 Content-Type: application/x-gzip; name=qemu-sunos.patch.gz Content-Transfer-Encoding: base64 X-Attachment-Id: f_ecwqum Content-Disposition: attachment; filename="qemu-sunos.patch.gz" H4sICJmR8EUAA3FlbXUtc3Vub3MucGF0Y2gA7VZLb9pAED7Hv2LEoQJsw9qAeKlSkraHSkWkRZEq IWQZe8Gb4rVjL5A04r9317uADQklUSv1UB/Anp3n982MbZom3ONwaaJat4bqwbqeLmkzrHkXNkJt E9kmaoHV6SGr12rW0PYCLkZI03U9Z21y0yg99tEwUQesdq/Z6DWOfVxegmnZttEGXfx1gAvwA8MJ BUIZ0GieuHFAvL4GKXMZ8WAVER/oKnFDh1DCymGzw1pdh0E1Exqw5IYd8Ry6nuv7iQFeRFMGXuAm UPVCf0EoNjS4uAB5iUDTKGKOj1fEw9JDw+Yuvl0NnJT8LGjvDn/wJPFCnZsFb2vis8DIbgNM5gGT 9z6OWVDR9LN1jZxulj4vKeDZO+wxxhUNnjSZEk3JnGJf6rAwhveA+touBDHgri+hblkZ1C2BOBec i6n0Va/DSHALaYw9MuOGyxSrMCLkgzXzOyqucrFOCMNl5YXousG1kFXpa+ZvlDqo0od6VQUcXt9A ta7pJ40K4Kg07nJQnDIUjTK+0/VJ5ZXKAlUbdQwLgW6jrvg/wDV0CXW8eOkkOMWsnMmqUezeLwWF G42Du6uT8+ev3QSDoIG4C5JyPxEVtZt5n9mISa4EwYK4rA8zuldz1ylK8t2t6cXkJGZvcwUvXB9J Gi/cxxEPhKHqp8URrM58Z0YWmLqhcppSN06DiL3sMW+vBm/v4pnD3ZibZzgUxSf7nCqyz15nZJwa 0A83twoLTFdG9puOB1ffHXEwUR2X2U+Xs7GF7OZEdlbDRkYX9IZtGY3mYWOdagK+sITPzR5QdbuR iOSGXTV3ebc3K++o7zB3usBjNKnttugBssWVuQ+eX4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