summaryrefslogtreecommitdiff
path: root/hw/vga_int.h
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2009-05-13 17:56:25 +0100
committerPaul Brook <paul@codesourcery.com>2009-05-13 17:56:25 +0100
commitfbe1b5953d061c77c07b91e4eb555c92195308d0 (patch)
tree1475976bd828788075a1e32017b6f75a93344965 /hw/vga_int.h
parent1481e16abbab14a2e19410770f97cb764bb9be16 (diff)
downloadqemu-fbe1b5953d061c77c07b91e4eb555c92195308d0.tar.gz
Remove vga_ram_size
The vga_ram_size argument to machine init functions always has the same value, and is ignored by many machines (including SPARC32 which has an obsolete ifdef for VGA_RAM_SIZE). Remove it and push VGA_RAM_SIZE into vga_int.h. Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/vga_int.h')
-rw-r--r--hw/vga_int.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/vga_int.h b/hw/vga_int.h
index 3202cde229..631b1b0fc3 100644
--- a/hw/vga_int.h
+++ b/hw/vga_int.h
@@ -215,3 +215,6 @@ void vga_draw_cursor_line_32(uint8_t *d1, const uint8_t *src1,
extern const uint8_t sr_mask[8];
extern const uint8_t gr_mask[16];
+
+#define VGA_RAM_SIZE (8192 * 1024)
+