Remove redundant cirrus vga ram functions.
Signed-off-by: Paul Brook <paul@codesourcery.com>
This commit is contained in:
parent
140f8f257f
commit
582af0da2a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user