qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: [PATCH 05/11] Delete write only variables


From: Andreas Färber
Subject: Re: [Qemu-devel] Re: [PATCH 05/11] Delete write only variables
Date: Sat, 9 Oct 2010 16:27:01 +0200

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.

Andreas


reply via email to

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