[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 8/8] vga: Fix type of lfb/map_addr/end.
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PATCH 8/8] vga: Fix type of lfb/map_addr/end. |
Date: |
Fri, 24 Jun 2011 12:23:55 -0700 |
These addresses have been passed through pci_to_cpu_addr,
and thus need to be full target_phys_addr_t.
Signed-off-by: Richard Henderson <address@hidden>
---
hw/vga_int.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/hw/vga_int.h b/hw/vga_int.h
index d2811bd..eee91a8 100644
--- a/hw/vga_int.h
+++ b/hw/vga_int.h
@@ -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;
--
1.7.4.4
- [Qemu-devel] [PATCH 0/8] Alpha system emulation, v6, Richard Henderson, 2011/06/24
- [Qemu-devel] [PATCH 1/8] Export the unassigned_mem read/write functions., Richard Henderson, 2011/06/24
- [Qemu-devel] [PATCH 2/8] pci: Export pci_to_cpu_addr., Richard Henderson, 2011/06/24
- [Qemu-devel] [PATCH 5/8] target-alpha: Implement WAIT IPR., Richard Henderson, 2011/06/24
- [Qemu-devel] [PATCH 4/8] target-alpha: Add CLIPPER emulation., Richard Henderson, 2011/06/24
- [Qemu-devel] [PATCH 6/8] target-alpha: Implement HALT IPR., Richard Henderson, 2011/06/24
- [Qemu-devel] [PATCH 3/8] target-alpha: Add custom PALcode image for CLIPPER emulation., Richard Henderson, 2011/06/24
- [Qemu-devel] [PATCH 7/8] target-alpha: Add high-resolution access to wall clock and an alarm., Richard Henderson, 2011/06/24
- [Qemu-devel] [PATCH 8/8] vga: Fix type of lfb/map_addr/end.,
Richard Henderson <=