mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
eepro100: Add a dev field to eeprom new/free functions
This allows us to create a more meaningful savevm string. Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
7685ee6abc
commit
5fce2b3e46
3 changed files with 8 additions and 8 deletions
|
@ -23,10 +23,10 @@
|
|||
typedef struct _eeprom_t eeprom_t;
|
||||
|
||||
/* Create a new EEPROM with (nwords * 2) bytes. */
|
||||
eeprom_t *eeprom93xx_new(uint16_t nwords);
|
||||
eeprom_t *eeprom93xx_new(DeviceState *dev, uint16_t nwords);
|
||||
|
||||
/* Destroy an existing EEPROM. */
|
||||
void eeprom93xx_free(eeprom_t *eeprom);
|
||||
void eeprom93xx_free(DeviceState *dev, eeprom_t *eeprom);
|
||||
|
||||
/* Read from the EEPROM. */
|
||||
uint16_t eeprom93xx_read(eeprom_t *eeprom);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue