mirror of https://github.com/xemu-project/xemu.git
some minor signature cleanups
This commit is contained in:
parent
9e58566c29
commit
bce8d4ec76
|
@ -248,7 +248,7 @@ static void chihiro_init(QEMUMachineInitArgs *args)
|
|||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
};
|
||||
|
||||
QemuOpts *machine_opts = qemu_opts_find(qemu_find_opts("machine"), 0);
|
||||
QemuOpts *machine_opts = qemu_opts_find(qemu_find_opts("machine"), NULL);
|
||||
if (machine_opts) {
|
||||
const char *mediaboard_rom_file =
|
||||
qemu_opt_get(machine_opts, "mediaboard_rom");
|
||||
|
|
|
@ -119,7 +119,7 @@ bios_error:
|
|||
|
||||
/* mostly from pc_init1 */
|
||||
void xbox_init_common(QEMUMachineInitArgs *args,
|
||||
uint8_t *default_eeprom,
|
||||
const uint8_t *default_eeprom,
|
||||
ISABus **out_isa_bus)
|
||||
{
|
||||
int i;
|
||||
|
@ -329,7 +329,7 @@ static void xbox_init(QEMUMachineInitArgs *args)
|
|||
};
|
||||
|
||||
ISABus *isa_bus;
|
||||
xbox_init_common(args, (uint8_t*)eeprom, &isa_bus);
|
||||
xbox_init_common(args, eeprom, &isa_bus);
|
||||
}
|
||||
|
||||
static QEMUMachine xbox_machine = {
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#define MAX_IDE_BUS 2
|
||||
|
||||
void xbox_init_common(QEMUMachineInitArgs *args,
|
||||
uint8_t *default_eeprom,
|
||||
const uint8_t *default_eeprom,
|
||||
ISABus **out_isa_bus);
|
||||
|
||||
#endif
|
|
@ -295,7 +295,7 @@ static int xbox_lpc_initfn(PCIDevice *d)
|
|||
* can't load it through loader.c because it overlaps with the bios...
|
||||
* We really should just commandeer the entire top 16Mb.
|
||||
*/
|
||||
QemuOpts *machine_opts = qemu_opts_find(qemu_find_opts("machine"), 0);
|
||||
QemuOpts *machine_opts = qemu_opts_find(qemu_find_opts("machine"), NULL);
|
||||
if (machine_opts) {
|
||||
const char *bootrom_file = qemu_opt_get(machine_opts, "bootrom");
|
||||
|
||||
|
|
Loading…
Reference in New Issue