WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

[Xen-ia64-devel] RE: [Xen-ia64][GFW PATCH]VGA high color fix

To: <tgingold@xxxxxxx>
Subject: [Xen-ia64-devel] RE: [Xen-ia64][GFW PATCH]VGA high color fix
From: "Zhang, Xing Z" <xing.z.zhang@xxxxxxxxx>
Date: Tue, 11 Dec 2007 23:33:00 +0800
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 11 Dec 2007 07:33:19 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1197386461.475eaadd14c09@xxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <823A93EED437D048963A3697DB0E35DEF355DE@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1197386461.475eaadd14c09@xxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acg8CYwYlew9RZ9OQCSqmfLmYB6Z2gAAUCXA
Thread-topic: [Xen-ia64][GFW PATCH]VGA high color fix
>-----Original Message-----
>From: tgingold@xxxxxxx [mailto:tgingold@xxxxxxx]
>Sent: 2007?12?11? 23:21
>To: Zhang, Xing Z
>Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx; tgingold@xxxxxxx
>Subject: Re: [Xen-ia64][GFW PATCH]VGA high color fix
>
>Quoting "Zhang, Xing Z" <xing.z.zhang@xxxxxxxxx>:
>
>> This patch fixes low VGA show in windows guest.
>
>Congrat!
>
>> The root cause is win2k3 will check VGA bios during
>HalInitSystem(). Open GFW
>> has no VGA bios support.
>
>I see.  I suppose win2k3 has an x86 emulator (or ia32-el).

Yes. Seems windows executes these code by a x86 emulator.

>
>> This patch is for that.
>
>I suppose the cirrus bios is the cirrus-bios image ?
>
>Do you know how it is loaded on x86/ia32 ?

It should be load in tools/ioemu/hw/pc.c. Here is a piece of code:

    /* VGA BIOS load */
    if (cirrus_vga_enabled) {
        snprintf(buf, sizeof(buf), "%s/%s", bios_dir, VGABIOS_CIRRUS_FILENAME);
    } else {
        snprintf(buf, sizeof(buf), "%s/%s", bios_dir, VGABIOS_FILENAME);
    }   
    ret = load_image(buf, phys_ram_base + vga_bios_offset);
>
>>
>> Hi Tristan:
>>      I'd like to invoke CopyMem() which includes in BaseMemoryLib
>in VgaInit.c. I
>> add BaseMemoryLib declaration in VgaInit.msa but it still
>complains
>> "undefined reference to CopyMem" during link time. What I lost?
>I directly
>> copy InternalMemCopyMem() to VgaInit.c as a workaround but
>it need be
>> replaced by CopyMem() when it is checked in. Could you offer
>me some help on
>> this compiling issue?
>
>I don't know how to do this by heart, but I will take care of
>this.
>
>Tristan.

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel