Arm support ported. (#736)

* Fix for MIPS issue.

* Sparc support added.

* M68K support added.

* Arm support ported.

* Fix issue with VS2015 shlobj.h file
This commit is contained in:
xorstream
2017-01-24 02:30:57 +11:00
committed by Nguyen Anh Quynh
parent fabe682d87
commit 8e45102b43
21 changed files with 1554 additions and 1452 deletions

View File

@ -30,12 +30,11 @@ static int tosa_init(struct uc_struct *uc, MachineState *machine)
void tosa_machine_init(struct uc_struct *uc)
{
static QEMUMachine tosapda_machine = {
.name = "tosa",
.init = tosa_init,
.is_default = 1,
.arch = UC_ARCH_ARM,
};
static QEMUMachine tosapda_machine = { 0 };
tosapda_machine.name = "tosa",
tosapda_machine.init = tosa_init,
tosapda_machine.is_default = 1,
tosapda_machine.arch = UC_ARCH_ARM,
qemu_register_machine(uc, &tosapda_machine, TYPE_MACHINE, NULL);
}

View File

@ -64,12 +64,11 @@ static int machvirt_init(struct uc_struct *uc, MachineState *machine)
void machvirt_machine_init(struct uc_struct *uc)
{
static QEMUMachine machvirt_a15_machine = {
.name = "virt",
.init = machvirt_init,
.is_default = 1,
.arch = UC_ARCH_ARM64,
};
static QEMUMachine machvirt_a15_machine = { 0 };
machvirt_a15_machine.name = "virt",
machvirt_a15_machine.init = machvirt_init,
machvirt_a15_machine.is_default = 1,
machvirt_a15_machine.arch = UC_ARCH_ARM64,
qemu_register_machine(uc, &machvirt_a15_machine, TYPE_MACHINE, NULL);
}