diff options
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 |