hw/ds1338: Implement state save/restore
commitf4741402ab8afe9014b6a54aed4cb0423041dbcb
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 12 Oct 2012 10:54:38 +0000 (12 11:54 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 12 Oct 2012 10:54:38 +0000 (12 11:54 +0100)
tree0e7076ca6d24fe66e7e82195153e00dc85856d55
parent7f7fd0f2e4d6b4f2ec137cda67f6c9a140668ea3
hw/ds1338: Implement state save/restore

Implement state save/restore for the DS1338. This requires
the usual minor adjustment of types in the state struct to
get fixed-width ones with vmstate macros.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/ds1338.c