[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] vga-pci: Fix access to linear framebuffer
From: |
Stefan Weil |
Subject: |
[Qemu-devel] [PATCH] vga-pci: Fix access to linear framebuffer |
Date: |
Mon, 16 Nov 2009 21:11:38 +0100 |
Anthony Liguori's patch fixes the problems with
vga display in graphical mode and SeaBIOS.
I only adapted some values for vga-pci.
Signed-off-by: Stefan Weil <address@hidden>
---
hw/vga-pci.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/hw/vga-pci.c b/hw/vga-pci.c
index 234d581..a6ad46b 100644
--- a/hw/vga-pci.c
+++ b/hw/vga-pci.c
@@ -107,6 +107,12 @@ static int pci_vga_initfn(PCIDevice *dev)
PCI_BASE_ADDRESS_MEM_PREFETCH, vga_map);
}
+#ifdef CONFIG_BOCHS_VBE
+ /* XXX: use optimized standard vga accesses */
+ cpu_register_physical_memory(VBE_DISPI_LFB_PHYSICAL_ADDRESS,
+ VGA_RAM_SIZE, s->vram_offset);
+#endif
+
/* ROM BIOS */
rom_add_vga(VGABIOS_FILENAME);
return 0;
--
1.5.6.5
- Re: [Qemu-devel] Standard vga breakage, (continued)
- Re: [Qemu-devel] Standard vga breakage, Blue Swirl, 2009/11/15
- Re: [Qemu-devel] Standard vga breakage, malc, 2009/11/15
- Re: [Qemu-devel] Standard vga breakage, Gleb Natapov, 2009/11/15
- Re: [Qemu-devel] Standard vga breakage, malc, 2009/11/15
- Re: [Qemu-devel] Standard vga breakage, Stefan Weil, 2009/11/15
- Re: [Qemu-devel] Standard vga breakage, Blue Swirl, 2009/11/15
- Re: [Qemu-devel] Standard vga breakage, malc, 2009/11/15
- Re: [Qemu-devel] Standard vga breakage, Blue Swirl, 2009/11/15
- Re: [Qemu-devel] Standard vga breakage, Stefan Weil, 2009/11/16
- Re: [Qemu-devel] Standard vga breakage, Anthony Liguori, 2009/11/16
- [Qemu-devel] [PATCH] vga-pci: Fix access to linear framebuffer,
Stefan Weil <=