0b8fa32f55
Include qemu/module.h where needed, drop it from qemu-common.h
...
Signed-off-by: Markus Armbruster <armbru@redhat.com >
Message-Id: <20190523143508.25387-4-armbru@redhat.com >
[Rebased with conflicts resolved automatically, except for
hw/usb/dev-hub.c hw/misc/exynos4210_rng.c hw/misc/bcm2835_rng.c
hw/misc/aspeed_scu.c hw/display/virtio-vga.c hw/arm/stm32f205_soc.c;
ui/cocoa.m fixed up]
2019-06-12 13:18:33 +02:00
948caec873
grlib, gptimer: get rid of the old-style create function
...
Suggested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk >
Signed-off-by: KONRAD Frederic <frederic.konrad@adacore.com >
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk >
2019-05-17 09:17:11 +01:00
23251fb82f
timer/grlib_gptimer: Convert sysbus init function to realize function
...
Use DeviceClass rather than SysBusDeviceClass in
grlib_gptimer_class_init().
Cc: chouteau@adacore.com
Signed-off-by: Mao Zhongyi <maozhongyi@cmss.chinamobile.com >
Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com >
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com >
Message-id: 20181130093852.20739-18-maozhongyi@cmss.chinamobile.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2018-12-13 13:48:02 +00:00
814bb12a56
clean-up: removed duplicate #includes
...
Some files contain multiple #includes of the same header file.
Removed most of those unnecessary duplicate entries using
scripts/clean-includes.
Reviewed-by: Thomas Huth <thuth@redhat.com >
Signed-off-by: Anand J <anand.indukala@gmail.com >
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru >
2016-10-28 18:17:24 +03:00
e7ea81c37d
hw/ptimer: Introduce timer policy feature
...
Some of the timer devices may behave differently from what ptimer
provides. Introduce ptimer policy feature that allows ptimer users to
change default and wrong timer behaviour, for example to continuously
trigger periodic timer when load value is equal to "0".
Signed-off-by: Dmitry Osipenko <digetx@gmail.com >
Message-id: 994cd608ec392da6e58f0643800dda595edb9d97.1473252818.git.digetx@gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org >
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2016-09-22 18:13:06 +01:00
db5ebe5f41
sparc: Clean up includes
...
Clean up includes so that osdep.h is included first and headers
which it implies are not included manually.
This commit was created with scripts/clean-includes.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
Message-id: 1453832250-766-7-git-send-email-peter.maydell@linaro.org
2016-01-29 15:07:22 +00:00
c9f2d70cc8
hw/timer/grlib_gptimer: remove unnecessary assignment
...
Signed-off-by: Prasad Joshi <prasadjoshi.linux@gmail.com >
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru >
2014-03-27 19:22:49 +04:00
9d5614d582
hw/timer/grlib_gptimer: Avoid integer overflows
...
The GPTIMER uses 32-bit registers. Use a 64-bit operation to get the
ptimer count, otherwise we end up with a count of 0 for GPTIMER counter
values of 0xffffffff.
Use the GPTIMER counter value for tracing to avoid an overflow of the
32-bit value passed to trace_grlib_gptimer_enable().
Reviewed-by: Fabien Chouteau <chouteau@adacore.com >
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de >
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru >
2014-03-15 13:54:18 +04:00
6a1751b7aa
aio / timers: Untangle include files
...
include/qemu/timer.h has no need to include main-loop.h and
doing so causes an issue for the next patch. Unfortunately
various files assume including timers.h will pull in main-loop.h.
Untangle this mess.
Signed-off-by: Alex Bligh <alex@alex.org.uk >
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com >
2013-08-22 19:10:27 +02:00
541ab55ff1
grlib_gptimer: QOM cast cleanup
...
Signed-off-by: Andreas Färber <afaerber@suse.de >
2013-07-29 21:07:01 +02:00
853dca1205
hw/t*: pass owner to memory_region_init* functions
...
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2013-07-04 17:42:48 +02:00
2c9b15cab1
memory: add owner argument to initialization functions
...
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2013-07-04 17:42:44 +02:00
3bd884511f
hw: move timer devices to hw/timer/, configure with default-configs/
...
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2013-04-08 18:13:14 +02:00