Revision 4a1e244e hw/vga_int.h
b/hw/vga_int.h | ||
---|---|---|
107 | 107 |
MemoryRegion vram; |
108 | 108 |
MemoryRegion vram_vbe; |
109 | 109 |
uint32_t vram_size; |
110 |
uint32_t vram_size_mb; /* property */ |
|
110 | 111 |
uint32_t latch; |
111 | 112 |
MemoryRegion *chain4_alias; |
112 | 113 |
uint8_t sr_index; |
... | ... | |
184 | 185 |
return (v << 2) | (b << 1) | b; |
185 | 186 |
} |
186 | 187 |
|
187 |
void vga_common_init(VGACommonState *s, int vga_ram_size);
|
|
188 |
void vga_common_init(VGACommonState *s); |
|
188 | 189 |
void vga_init(VGACommonState *s, MemoryRegion *address_space, |
189 | 190 |
MemoryRegion *address_space_io, bool init_vga_ports); |
190 | 191 |
MemoryRegion *vga_init_io(VGACommonState *s, |
... | ... | |
209 | 210 |
extern const uint8_t sr_mask[8]; |
210 | 211 |
extern const uint8_t gr_mask[16]; |
211 | 212 |
|
212 |
#define VGA_RAM_SIZE (8192 * 1024) |
|
213 | 213 |
#define VGABIOS_FILENAME "vgabios.bin" |
214 | 214 |
#define VGABIOS_CIRRUS_FILENAME "vgabios-cirrus.bin" |
215 | 215 |
|
Also available in: Unified diff