mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-25 04:30:02 +00:00
5b262bb697
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>
23 lines
398 B
C
23 lines
398 B
C
/*
|
|
* QTest testcase for the ptimer
|
|
*
|
|
* Author: Dmitry Osipenko <digetx@gmail.com>
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
|
* See the COPYING file in the top-level directory.
|
|
*
|
|
*/
|
|
|
|
#ifndef PTIMER_TEST_H
|
|
#define PTIMER_TEST_H
|
|
|
|
extern bool qtest_allowed;
|
|
|
|
extern int64_t ptimer_test_time_ns;
|
|
|
|
struct QEMUTimerList {
|
|
QEMUTimer active_timers;
|
|
};
|
|
|
|
#endif
|