|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 7/7] vgabios: Make Windows 8 support greater resolutions
On Fri, 2012-05-04 at 13:36 +0100, Frediano Ziglio wrote:
> Apparently Windows 8 refuse to use any mode if has more than one page.
What about OSes other than Windows 8? Did you test with any of them?
>
> Signed-off-by: Frediano Ziglio <frediano.ziglio@xxxxxxxxxx>
> ---
> tools/firmware/vgabios/vbe.c | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tools/firmware/vgabios/vbe.c b/tools/firmware/vgabios/vbe.c
> index a7b06b9..9131721 100644
> --- a/tools/firmware/vgabios/vbe.c
> +++ b/tools/firmware/vgabios/vbe.c
> @@ -946,9 +946,9 @@ Bit16u *AX;Bit16u CX; Bit16u ES;Bit16u DI;
> (size_64k > totalMemory))
> info.ModeAttributes &= ~VBE_MODE_ATTRIBUTE_SUPPORTED;
>
> - if (using_lfb) {
> - info.NumberOfBanks = 1;
> - }
> + /* Windows 8 require this to be 1! */
> + info.NumberOfBanks = 1;
> +
> if (info.WinAAttributes & VBE_WINDOW_ATTRIBUTE_RELOCATABLE) {
> info.WinFuncPtr = 0xC0000000UL;
> *(Bit16u *)&(info.WinFuncPtr) =
> (Bit16u)(dispi_set_bank_farcall);
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |