]> git.proxmox.com Git - qemu.git/commitdiff
vga: Fix type of lfb/map_addr/end.
authorRichard Henderson <rth@twiddle.net>
Tue, 14 Jun 2011 19:53:08 +0000 (12:53 -0700)
committerAnthony Liguori <aliguori@us.ibm.com>
Sat, 23 Jul 2011 16:19:02 +0000 (11:19 -0500)
These addresses have been passed through pci_to_cpu_addr,
and thus need to be full target_phys_addr_t.

Acked-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/vga_int.h

index d2811bdf1cf08786cde456daac7f5ce1516190fe..eee91a84f319ac6b3ab430451632aca4f2ccd54d 100644 (file)
@@ -106,13 +106,13 @@ typedef void (* vga_update_retrace_info_fn)(struct VGACommonState *s);
 typedef struct VGACommonState {
     uint8_t *vram_ptr;
     ram_addr_t vram_offset;
+    target_phys_addr_t lfb_addr;
+    target_phys_addr_t lfb_end;
+    target_phys_addr_t map_addr;
+    target_phys_addr_t map_end;
     uint32_t vram_size;
-    uint32_t lfb_addr;
-    uint32_t lfb_end;
-    uint32_t map_addr;
-    uint32_t map_end;
-    uint32_t lfb_vram_mapped; /* whether 0xa0000 is mapped as ram */
     uint32_t latch;
+    uint32_t lfb_vram_mapped; /* whether 0xa0000 is mapped as ram */
     uint8_t sr_index;
     uint8_t sr[256];
     uint8_t gr_index;