vmstate: Add support for an array of ptimer_state *
commita1f05e79f2c207bded5efc23e8c6b1ca58161a8e
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 17 Dec 2013 19:42:37 +0000 (17 19:42 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 17 Dec 2013 20:12:51 +0000 (17 20:12 +0000)
tree7538d8fd96cbfc96da536c173404ad20a4d75b87
parent9082f12173d407290bcec9f4ae84242972b2480c
vmstate: Add support for an array of ptimer_state *

Add support for defining a vmstate field which is an array
of pointers to structures, and use this to define a
VMSTATE_PTIMER_ARRAY() which allows an array of ptimer_state*
to be used by devices.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1387159292-10436-2-git-send-email-lig.fnst@cn.fujitsu.com
include/hw/ptimer.h
include/migration/vmstate.h