diff options
author | Paul Brook <paul@codesourcery.com> | 2009-05-01 15:16:15 +0100 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-05-01 15:16:15 +0100 |
commit | 582af0da2a65784e431c2c5ed3a003a35c5587f7 (patch) | |
tree | e75639ef81fb66946a23ebfb6c736a55ac9214b5 /hw/cirrus_vga.c | |
parent | 140f8f257f86bc78c3abb8a70ba54c0e5f604cc5 (diff) |
Remove redundant cirrus vga ram functions.
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/cirrus_vga.c')
-rw-r--r-- | hw/cirrus_vga.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c index df98f8526f..52ac346d12 100644 --- a/hw/cirrus_vga.c +++ b/hw/cirrus_vga.c @@ -2484,36 +2484,6 @@ static CPUWriteMemoryFunc *cirrus_linear_write[3] = { cirrus_linear_writel, }; -static void cirrus_linear_mem_writeb(void *opaque, target_phys_addr_t addr, - uint32_t val) -{ - CirrusVGAState *s = (CirrusVGAState *) opaque; - - addr &= s->cirrus_addr_mask; - *(s->vram_ptr + addr) = val; - cpu_physical_memory_set_dirty(s->vram_offset + addr); -} - -static void cirrus_linear_mem_writew(void *opaque, target_phys_addr_t addr, - uint32_t val) -{ - CirrusVGAState *s = (CirrusVGAState *) opaque; - - addr &= s->cirrus_addr_mask; - cpu_to_le16w((uint16_t *)(s->vram_ptr + addr), val); - cpu_physical_memory_set_dirty(s->vram_offset + addr); -} - -static void cirrus_linear_mem_writel(void *opaque, target_phys_addr_t addr, - uint32_t val) -{ - CirrusVGAState *s = (CirrusVGAState *) opaque; - - addr &= s->cirrus_addr_mask; - cpu_to_le32w((uint32_t *)(s->vram_ptr + addr), val); - cpu_physical_memory_set_dirty(s->vram_offset + addr); -} - /*************************************** * * system to screen memory access |