Revision 44654490 hw/r2d.c
b/hw/r2d.c | ||
---|---|---|
200 | 200 |
{ |
201 | 201 |
CPUState *env; |
202 | 202 |
struct SH7750State *s; |
203 |
ram_addr_t sdram_addr, sm501_vga_ram_addr;
|
|
203 |
ram_addr_t sdram_addr; |
|
204 | 204 |
qemu_irq *irq; |
205 | 205 |
PCIBus *pci; |
206 | 206 |
int i; |
... | ... | |
222 | 222 |
irq = r2d_fpga_init(0x04000000, sh7750_irl(s)); |
223 | 223 |
pci = sh_pci_register_bus(r2d_pci_set_irq, r2d_pci_map_irq, irq, 0, 4); |
224 | 224 |
|
225 |
sm501_vga_ram_addr = qemu_ram_alloc(SM501_VRAM_SIZE); |
|
226 |
sm501_init(0x10000000, sm501_vga_ram_addr, SM501_VRAM_SIZE, |
|
227 |
serial_hds[2]); |
|
225 |
sm501_init(0x10000000, SM501_VRAM_SIZE, serial_hds[2]); |
|
228 | 226 |
|
229 | 227 |
/* onboard CF (True IDE mode, Master only). */ |
230 | 228 |
if ((i = drive_get_index(IF_IDE, 0, 0)) != -1) |
Also available in: Unified diff