Sparc support added. (#734)
* Fix for MIPS issue. * Sparc support added.
This commit is contained in:

committed by
Nguyen Anh Quynh

parent
69ae8f7987
commit
a40921ce32
@ -58,10 +58,13 @@ static int leon3_generic_hw_init(struct uc_struct *uc, MachineState *machine)
|
||||
void leon3_machine_init(struct uc_struct *uc)
|
||||
{
|
||||
static QEMUMachine leon3_generic_machine = {
|
||||
.name = "leon3_generic",
|
||||
.init = leon3_generic_hw_init,
|
||||
.is_default = 1,
|
||||
.arch = UC_ARCH_SPARC,
|
||||
NULL,
|
||||
"leon3_generic",
|
||||
leon3_generic_hw_init,
|
||||
NULL,
|
||||
0,
|
||||
1,
|
||||
UC_ARCH_SPARC,
|
||||
};
|
||||
|
||||
//printf(">>> leon3_machine_init\n");
|
||||
|
@ -50,11 +50,13 @@ static int sun4u_init(struct uc_struct *uc, MachineState *machine)
|
||||
void sun4u_machine_init(struct uc_struct *uc)
|
||||
{
|
||||
static QEMUMachine sun4u_machine = {
|
||||
.name = "sun4u",
|
||||
.init = sun4u_init,
|
||||
.max_cpus = 1, // XXX for now
|
||||
.is_default = 1,
|
||||
.arch = UC_ARCH_SPARC,
|
||||
NULL,
|
||||
"sun4u",
|
||||
sun4u_init,
|
||||
NULL,
|
||||
1, // XXX for now
|
||||
1,
|
||||
UC_ARCH_SPARC,
|
||||
};
|
||||
|
||||
qemu_register_machine(uc, &sun4u_machine, TYPE_MACHINE, NULL);
|
||||
|
Reference in New Issue
Block a user