From aa941b944500bf77f0bdbfa0a7112b4e89670ff1 Mon Sep 17 00:00:00 2001 From: balrog Date: Thu, 24 May 2007 18:50:09 +0000 Subject: Savevm/loadvm bits for ARM core, the PXA2xx peripherals and Spitz hardware. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2857 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/i2c.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'hw/i2c.h') diff --git a/hw/i2c.h b/hw/i2c.h index dec45e552..17e52e7e8 100644 --- a/hw/i2c.h +++ b/hw/i2c.h @@ -45,6 +45,10 @@ void i2c_end_transfer(i2c_bus *bus); void i2c_nack(i2c_bus *bus); int i2c_send(i2c_bus *bus, uint8_t data); int i2c_recv(i2c_bus *bus); +void i2c_bus_save(QEMUFile *f, i2c_bus *bus); +void i2c_bus_load(QEMUFile *f, i2c_bus *bus); +void i2c_slave_save(QEMUFile *f, i2c_slave *dev); +void i2c_slave_load(QEMUFile *f, i2c_slave *dev); /* max7310.c */ i2c_slave *max7310_init(i2c_bus *bus); -- cgit v1.2.3