vga: Drop some unused fields

Memory region refactorings obsoleted them.

CC: Avi Kivity <avi@redhat.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Jan Kiszka 2011-08-22 19:12:13 +02:00 committed by Anthony Liguori
parent 80763888bf
commit 78dd9ff632

View File

@ -110,7 +110,6 @@ typedef struct VGACommonState {
MemoryRegion vram; MemoryRegion vram;
uint32_t vram_size; uint32_t vram_size;
uint32_t latch; uint32_t latch;
uint32_t lfb_vram_mapped; /* whether 0xa0000 is mapped as ram */
MemoryRegion *chain4_alias; MemoryRegion *chain4_alias;
uint8_t sr_index; uint8_t sr_index;
uint8_t sr[256]; uint8_t sr[256];
@ -133,7 +132,6 @@ typedef struct VGACommonState {
int dac_8bit; int dac_8bit;
uint8_t palette[768]; uint8_t palette[768];
int32_t bank_offset; int32_t bank_offset;
MemoryRegion *vga_io_memory;
int (*get_bpp)(struct VGACommonState *s); int (*get_bpp)(struct VGACommonState *s);
void (*get_offsets)(struct VGACommonState *s, void (*get_offsets)(struct VGACommonState *s,
uint32_t *pline_offset, uint32_t *pline_offset,