integratorcp.c (ffa4822c015d5670ef6a2239f3cbd2ff2cec57de) | integratorcp.c (e264d29de28c5b0be3d063307ce9fb613b427cc3) |
---|---|
1/* 2 * ARM Integrator CP System emulation. 3 * 4 * Copyright (c) 2005-2007 CodeSourcery. 5 * Written by Paul Brook 6 * 7 * This code is licensed under the GPL 8 */ --- 605 unchanged lines hidden (view full) --- 614 615 integrator_binfo.ram_size = ram_size; 616 integrator_binfo.kernel_filename = kernel_filename; 617 integrator_binfo.kernel_cmdline = kernel_cmdline; 618 integrator_binfo.initrd_filename = initrd_filename; 619 arm_load_kernel(cpu, &integrator_binfo); 620} 621 | 1/* 2 * ARM Integrator CP System emulation. 3 * 4 * Copyright (c) 2005-2007 CodeSourcery. 5 * Written by Paul Brook 6 * 7 * This code is licensed under the GPL 8 */ --- 605 unchanged lines hidden (view full) --- 614 615 integrator_binfo.ram_size = ram_size; 616 integrator_binfo.kernel_filename = kernel_filename; 617 integrator_binfo.kernel_cmdline = kernel_cmdline; 618 integrator_binfo.initrd_filename = initrd_filename; 619 arm_load_kernel(cpu, &integrator_binfo); 620} 621 |
622static QEMUMachine integratorcp_machine = { 623 .name = "integratorcp", 624 .desc = "ARM Integrator/CP (ARM926EJ-S)", 625 .init = integratorcp_init, 626}; 627 628static void integratorcp_machine_init(void) | 622static void integratorcp_machine_init(MachineClass *mc) |
629{ | 623{ |
630 qemu_register_machine(&integratorcp_machine); | 624 mc->desc = "ARM Integrator/CP (ARM926EJ-S)"; 625 mc->init = integratorcp_init; |
631} 632 | 626} 627 |
633machine_init(integratorcp_machine_init); | 628DEFINE_MACHINE("integratorcp", integratorcp_machine_init) |
634 635static Property core_properties[] = { 636 DEFINE_PROP_UINT32("memsz", IntegratorCMState, memsz, 0), 637 DEFINE_PROP_END_OF_LIST(), 638}; 639 640static void core_class_init(ObjectClass *klass, void *data) 641{ --- 43 unchanged lines hidden --- | 629 630static Property core_properties[] = { 631 DEFINE_PROP_UINT32("memsz", IntegratorCMState, memsz, 0), 632 DEFINE_PROP_END_OF_LIST(), 633}; 634 635static void core_class_init(ObjectClass *klass, void *data) 636{ --- 43 unchanged lines hidden --- |