summaryrefslogtreecommitdiffstats
path: root/include/hw/ptimer.h
Commit message (Collapse)AuthorAgeFilesLines
* vmstate: Make VMSTATE_STRUCT_POINTER take type, not ptr-to-typePeter Maydell2014-02-041-8/+2
| | | | | | | | | | | The VMSTATE_STRUCT_POINTER macros are a bit odd in that they must be passed an argument "FooType *" rather than just taking the FooType. They're only used in one place, so it's easy to tidy this up. This also lets us use the macro to replace the hand-rolled VMSTATE_PTIMER. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Juan Quintela <quintela@redhat.com>
* vmstate: Add support for an array of ptimer_state *Peter Maydell2013-12-171-0/+4
| | | | | | | | | | 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
* hw: move headers to include/Paolo Bonzini2013-04-081-0/+39
Many of these should be cleaned up with proper qdev-/QOM-ification. Right now there are many catch-all headers in include/hw/ARCH depending on cpu.h, and this makes it necessary to compile these files per-target. However, fixing this does not belong in these patches. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
OpenPOWER on IntegriCloud