mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
spitz: make sl-nand emulation use qdev infrastructure
Switch sl-nand emulation to use qdev and vmstate. Also drop ecc_get/_put functions as sl-nand was the only user of that code. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
This commit is contained in:
parent
43842120f4
commit
34f9f0b580
4 changed files with 74 additions and 52 deletions
|
@ -51,5 +51,4 @@ typedef struct {
|
|||
|
||||
uint8_t ecc_digest(ECCState *s, uint8_t sample);
|
||||
void ecc_reset(ECCState *s);
|
||||
void ecc_put(QEMUFile *f, ECCState *s);
|
||||
void ecc_get(QEMUFile *f, ECCState *s);
|
||||
extern VMStateDescription vmstate_ecc_state;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue