Commit 582af0da2a65784e431c2c5ed3a003a35c5587f7

Authored by Paul Brook
1 parent 140f8f25

Remove redundant cirrus vga ram functions.

Signed-off-by: Paul Brook <paul@codesourcery.com>
Showing 1 changed file with 0 additions and 30 deletions
hw/cirrus_vga.c
... ... @@ -2484,36 +2484,6 @@ static CPUWriteMemoryFunc *cirrus_linear_write[3] = {
2484 2484 cirrus_linear_writel,
2485 2485 };
2486 2486  
2487   -static void cirrus_linear_mem_writeb(void *opaque, target_phys_addr_t addr,
2488   - uint32_t val)
2489   -{
2490   - CirrusVGAState *s = (CirrusVGAState *) opaque;
2491   -
2492   - addr &= s->cirrus_addr_mask;
2493   - *(s->vram_ptr + addr) = val;
2494   - cpu_physical_memory_set_dirty(s->vram_offset + addr);
2495   -}
2496   -
2497   -static void cirrus_linear_mem_writew(void *opaque, target_phys_addr_t addr,
2498   - uint32_t val)
2499   -{
2500   - CirrusVGAState *s = (CirrusVGAState *) opaque;
2501   -
2502   - addr &= s->cirrus_addr_mask;
2503   - cpu_to_le16w((uint16_t *)(s->vram_ptr + addr), val);
2504   - cpu_physical_memory_set_dirty(s->vram_offset + addr);
2505   -}
2506   -
2507   -static void cirrus_linear_mem_writel(void *opaque, target_phys_addr_t addr,
2508   - uint32_t val)
2509   -{
2510   - CirrusVGAState *s = (CirrusVGAState *) opaque;
2511   -
2512   - addr &= s->cirrus_addr_mask;
2513   - cpu_to_le32w((uint32_t *)(s->vram_ptr + addr), val);
2514   - cpu_physical_memory_set_dirty(s->vram_offset + addr);
2515   -}
2516   -
2517 2487 /***************************************
2518 2488 *
2519 2489 * system to screen memory access
... ...