[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [PATCH 05/11] Delete write only variables
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] Re: [PATCH 05/11] Delete write only variables |
Date: |
Sat, 9 Oct 2010 16:31:47 +0200 |
Am 09.10.2010 um 16:27 schrieb Andreas Färber <address@hidden>:
> Am 08.10.2010 um 20:06 schrieb Blue Swirl:
>
>> On Fri, Oct 8, 2010 at 5:30 PM, Alexander Graf <address@hidden> wrote:
>>>
>>> On 08.10.2010, at 19:28, Paolo Bonzini wrote:
>>>
>>>> On 10/07/2010 07:24 PM, Blue Swirl wrote:
>>>>>>> On 10/06/2010 11:32 PM, Blue Swirl wrote:
>>>>>>>>>
>>>>>>>>> @@ -91,8 +90,6 @@ static int vga_osi_call (CPUState *env)
>>>>>>>>> env->gpr[3] = 0;
>>>>>>>>> break;
>>>>>>>>> case 39: /* video_ctrl */
>>>>>>>>> - if (env->gpr[6] == 0 || env->gpr[6] == 1)
>>>>>>>>> - vga_vbl_enabled = env->gpr[6];
>>>>>>>>> env->gpr[3] = 0;
>>>>>>>>> break;
>>>>>>>>> case 47:
>>>>>>>
>>>>>>> NACK, this smells like an incomplete emulation.
>>>>> Why would we care about unfinished temporary Mac-on-Linux hack for
>>>>> video.x? Perhaps the correct fix is to remove vga_osi_call function
>>>>> and env->osi_call field entirely.
>>>>
>>>> CCing the person who could answer.
>>>
>>> I wanted to write the same thing, but canceled the mail because I wasn't
>>> sure if we need it. We do use video.x from MOL, don't we?
>>>
>>> Please just try to remove the whole thing altogether and see if graphics
>>> still work. If so, yeah, remove it :).
>>
>> OpenBIOS boots in graphical mode, I can see the penguin during Linux
>> boot. This is with the attached patch that removes video.x completely.
>> <0001-ppc-remove-video.x.patch>
>
> My WIP -M chrp works okay without it, too.
>
> Acked-by: Andreas Färber <address@hidden>
>
>> -- video.x is a PowerMac NDRV compatible driver for a VGA frame
>> - buffer. It comes from the Mac-on-Linux project
>> - (http://www.maconlinux.org/).
>
> Is this relevant for Mac OS or Mac OS X emulation as opposed to Linux boot?
> Since that doesn't work today I'd still be in favor of removing this apparent
> hack.
Yes, IIUC that blob is a mac os 9 driver.
Alex
>
> Andreas
- [Qemu-devel] [PATCH 05/11] Delete write only variables, Blue Swirl, 2010/10/06
- [Qemu-devel] Re: [PATCH 05/11] Delete write only variables, Paolo Bonzini, 2010/10/07
- [Qemu-devel] Re: [PATCH 05/11] Delete write only variables, Blue Swirl, 2010/10/07
- [Qemu-devel] Re: [PATCH 05/11] Delete write only variables, Paolo Bonzini, 2010/10/08
- [Qemu-devel] Re: [PATCH 05/11] Delete write only variables, Alexander Graf, 2010/10/08
- [Qemu-devel] Re: [PATCH 05/11] Delete write only variables, Blue Swirl, 2010/10/08
- [Qemu-devel] Re: [PATCH 05/11] Delete write only variables, Alexander Graf, 2010/10/08
- Re: [Qemu-devel] Re: [PATCH 05/11] Delete write only variables, Andreas Färber, 2010/10/09
- Re: [Qemu-devel] Re: [PATCH 05/11] Delete write only variables,
Alexander Graf <=