From 67359423a6bff35d44e49bbed885919bcf044de0 Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Wed, 3 Jul 2019 23:00:39 -0700 Subject: [PATCH] xbox: Rename pit to pit_enabled per pcms change --- hw/xbox/xbox.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/xbox/xbox.c b/hw/xbox/xbox.c index d2b285b2d2..a702810a19 100644 --- a/hw/xbox/xbox.c +++ b/hw/xbox/xbox.c @@ -32,7 +32,6 @@ #include "sysemu/sysemu.h" #include "hw/sysbus.h" #include "sysemu/arch_init.h" -#include "hw/i2c/smbus.h" #include "exec/memory.h" #include "exec/address-spaces.h" #include "cpu.h" @@ -45,7 +44,8 @@ #include "hw/timer/mc146818rtc.h" #include "hw/xbox/xbox_pci.h" -#include "hw/xbox/smbus.h" +#include "hw/i2c/i2c.h" +#include "hw/i2c/smbus_eeprom.h" #include "hw/xbox/nv2a/nv2a.h" #include "hw/xbox/mcpx_apu.h" @@ -352,7 +352,7 @@ void xbox_init_common(MachineState *machine, pc_register_ferr_irq(pcms->gsi[13]); /* init basic PC hardware */ - pcms->pit = 1; // XBOX_FIXME: What's the right way to do this? + pcms->pit_enabled = 1; // XBOX_FIXME: What's the right way to do this? rtc_state = mc146818_rtc_init(isa_bus, 2000, NULL); // qemu_register_boot_set(pc_boot_set, rtc_state);