aboutsummaryrefslogtreecommitdiff
path: root/vl.h
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-21 19:45:49 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-21 19:45:49 +0000
commiteee0b8367b01ff1bbe6159212a8d33ff587fc200 (patch)
tree3b11c08895e149ee01f0338bd2b435b72562e530 /vl.h
parentb9652ca3a5c027f8bc55323e0f6010f641479255 (diff)
TCX 24 bit model support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2710 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.h')
-rw-r--r--vl.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/vl.h b/vl.h
index 5e47bf98bb..855a854ecf 100644
--- a/vl.h
+++ b/vl.h
@@ -889,7 +889,11 @@ extern struct soundhw soundhw[];
/* vga.c */
+#ifndef TARGET_SPARC
#define VGA_RAM_SIZE (8192 * 1024)
+#else
+#define VGA_RAM_SIZE (9 * 1024 * 1024)
+#endif
struct DisplayState {
uint8_t *data;
@@ -1206,7 +1210,8 @@ static inline void sparc_iommu_memory_write(void *opaque,
/* tcx.c */
void tcx_init(DisplayState *ds, uint32_t addr, uint8_t *vram_base,
- unsigned long vram_offset, int vram_size, int width, int height);
+ unsigned long vram_offset, int vram_size, int width, int height,
+ int depth);
/* slavio_intctl.c */
void pic_set_irq_cpu(void *opaque, int irq, int level, unsigned int cpu);