qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH] sparc32 fix carry flag handling (Solaris bootbl


From: Blue Swirl
Subject: [Qemu-devel] Re: [PATCH] sparc32 fix carry flag handling (Solaris bootblk fix)
Date: Sat, 12 Dec 2009 11:07:14 +0200

On Thu, Dec 10, 2009 at 8:27 PM, Artyom Tarasenko
<address@hidden> wrote:
> 2009/11/13 Blue Swirl <address@hidden>:
>> On Fri, Nov 13, 2009 at 4:28 PM, Artyom Tarasenko
>> <address@hidden> wrote:
>>>>> Could you describe the steps how to boot Solaris with OBP? I'm sure
>>>>> there are a lot of people who'd like to test if their favorite Sparc
>>>>> Solaris programs work on QEMU.
>>>
>>> Gathered things for which I currently have hacks here:
>>> http://tyom.blogspot.com/2009/11/things-missing-in-vanilla-qemu.html
>>>
>>> Actually for OBP itself it's just two (SS-5) or three (SS-20) things:
>>>
>>> - Floppy. Instead of fixing it, I broke it completely, so OBP doesn't
>>> try to initialize it and hang. Actually it maybe not the fdc itself,
>>> but the irq handling. There are OBP tests which may help to understand
>>> what is currently going wrong. I didn't need it, does the fdc actually
>>> work under linux/netbsd/OpenBIOS?
>>
>> Not at least Linux, IIRC Linux floppy driver is broken. FDC is wired a
>> bit differently from PC setup. We don't need it, but getting OBP just
>> to accept it would be nice.
>>
>>> - [SparcStation-5] 0x6e000000 AFX. OBP tries to access it and fails
>>> with "unassigned address exception". Is only present in the SS-5's
>>> TCX. The required address space is just one byte long. IMHO makes no
>>> sense to create a special stub device for it. Can we push it into the
>>> TCX?
>>
>> I'd put it to sun4m.c, there is similar device (idreg) already.
>
> Ok, I made one patch for fdc.c (it turned out that for SS5-only fix, a
> very small change is needed), and a small afx patch for sun4m.c .
> Shall I post them marked "for 0.12" or shall we do it in 0.13 ?

Depends on the patches.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]