diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-05-23 00:03:59 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-05-23 00:03:59 +0000 |
commit | 0ff596d02fd9d876a31d038255a6d4f89da9dfed (patch) | |
tree | 754c9dfaee7006ab91d80333141835d9213a6d06 /vl.h | |
parent | c6fdf5fca0149fbc2d05d8d5ad43e3686c37514e (diff) | |
download | hqemu-0ff596d02fd9d876a31d038255a6d4f89da9dfed.zip hqemu-0ff596d02fd9d876a31d038255a6d4f89da9dfed.tar.gz |
I2C/SMBus framework.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2845 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.h')
-rw-r--r-- | vl.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1126,17 +1126,16 @@ int pit_get_out(PITState *pit, int channel, int64_t current_time); void pcspk_init(PITState *); int pcspk_audio_init(AudioState *, qemu_irq *pic); +#include "hw/i2c.h" + #include "hw/smbus.h" /* acpi.c */ extern int acpi_enabled; -void piix4_pm_init(PCIBus *bus, int devfn); +i2c_bus *piix4_pm_init(PCIBus *bus, int devfn); void piix4_smbus_register_device(SMBusDevice *dev, uint8_t addr); void acpi_bios_init(void); -/* smbus_eeprom.c */ -SMBusDevice *smbus_eeprom_device_init(uint8_t addr, uint8_t *buf); - /* pc.c */ extern QEMUMachine pc_machine; extern QEMUMachine isapc_machine; |