mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
tests: Add ptimer tests
Ptimer is a generic countdown timer helper that is used by many timer device models as well as by the QEMU core. Add QTests for the ptimer. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Message-id: 1de89fe6e1ccaf6c8071ee3469e1a844df948359.1473252818.git.digetx@gmail.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
2a8b58703e
commit
5b262bb697
5 changed files with 704 additions and 0 deletions
|
@ -3,6 +3,11 @@
|
|||
#include "migration/vmstate.h"
|
||||
|
||||
const VMStateDescription vmstate_dummy = {};
|
||||
const VMStateInfo vmstate_info_uint8;
|
||||
const VMStateInfo vmstate_info_uint32;
|
||||
const VMStateInfo vmstate_info_uint64;
|
||||
const VMStateInfo vmstate_info_int64;
|
||||
const VMStateInfo vmstate_info_timer;
|
||||
|
||||
int vmstate_register_with_alias_id(DeviceState *dev,
|
||||
int instance_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue