Revision 1eed09cb hw/cirrus_vga.c
b/hw/cirrus_vga.c | ||
---|---|---|
3196 | 3196 |
register_ioport_read(0x3ba, 1, 1, vga_ioport_read, s); |
3197 | 3197 |
register_ioport_read(0x3da, 1, 1, vga_ioport_read, s); |
3198 | 3198 |
|
3199 |
s->vga.vga_io_memory = cpu_register_io_memory(0, cirrus_vga_mem_read,
|
|
3199 |
s->vga.vga_io_memory = cpu_register_io_memory(cirrus_vga_mem_read, |
|
3200 | 3200 |
cirrus_vga_mem_write, s); |
3201 | 3201 |
cpu_register_physical_memory(isa_mem_base + 0x000a0000, 0x20000, |
3202 | 3202 |
s->vga.vga_io_memory); |
... | ... | |
3204 | 3204 |
|
3205 | 3205 |
/* I/O handler for LFB */ |
3206 | 3206 |
s->cirrus_linear_io_addr = |
3207 |
cpu_register_io_memory(0, cirrus_linear_read, cirrus_linear_write, s);
|
|
3207 |
cpu_register_io_memory(cirrus_linear_read, cirrus_linear_write, s); |
|
3208 | 3208 |
|
3209 | 3209 |
/* I/O handler for LFB */ |
3210 | 3210 |
s->cirrus_linear_bitblt_io_addr = |
3211 |
cpu_register_io_memory(0, cirrus_linear_bitblt_read,
|
|
3211 |
cpu_register_io_memory(cirrus_linear_bitblt_read, |
|
3212 | 3212 |
cirrus_linear_bitblt_write, s); |
3213 | 3213 |
|
3214 | 3214 |
/* I/O handler for memory-mapped I/O */ |
3215 | 3215 |
s->cirrus_mmio_io_addr = |
3216 |
cpu_register_io_memory(0, cirrus_mmio_read, cirrus_mmio_write, s);
|
|
3216 |
cpu_register_io_memory(cirrus_mmio_read, cirrus_mmio_write, s); |
|
3217 | 3217 |
|
3218 | 3218 |
s->real_vram_size = |
3219 | 3219 |
(s->device_id == CIRRUS_ID_CLGD5446) ? 4096 * 1024 : 2048 * 1024; |
Also available in: Unified diff