[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-ia64-devel] RE: [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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |