Revision f93eb9ff hw/integratorcp.c
b/hw/integratorcp.c | ||
---|---|---|
469 | 469 |
|
470 | 470 |
/* Board init. */ |
471 | 471 |
|
472 |
static struct arm_boot_info integrator_binfo = { |
|
473 |
.loader_start = 0x0, |
|
474 |
.board_id = 0x113, |
|
475 |
}; |
|
476 |
|
|
472 | 477 |
static void integratorcp_init(int ram_size, int vga_ram_size, |
473 | 478 |
const char *boot_device, DisplayState *ds, |
474 | 479 |
const char *kernel_filename, const char *kernel_cmdline, |
... | ... | |
527 | 532 |
} |
528 | 533 |
pl110_init(ds, 0xc0000000, pic[22], 0); |
529 | 534 |
|
530 |
arm_load_kernel(env, ram_size, kernel_filename, kernel_cmdline, |
|
531 |
initrd_filename, 0x113, 0x0); |
|
535 |
integrator_binfo.ram_size = ram_size; |
|
536 |
integrator_binfo.kernel_filename = kernel_filename; |
|
537 |
integrator_binfo.kernel_cmdline = kernel_cmdline; |
|
538 |
integrator_binfo.initrd_filename = initrd_filename; |
|
539 |
arm_load_kernel(env, &integrator_binfo); |
|
532 | 540 |
} |
533 | 541 |
|
534 | 542 |
QEMUMachine integratorcp_machine = { |
Also available in: Unified diff