61b97833b3
intc: make HMP 'info irq' and 'info pic' commands use InterruptStatsProvider interface
...
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org >
Message-Id: <1474921408-24710-6-git-send-email-hpoussin@reactos.org >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2016-10-04 10:00:25 +02:00
148fbe9504
intc/slavio_intctl: implement InterruptStatsProvider interface
...
Acked-by: Artyom Tarasenko <atar4qemu@gmail.com >
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org >
Message-Id: <1474921408-24710-4-git-send-email-hpoussin@reactos.org >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2016-10-04 10:00:25 +02:00
c09008d2d3
hw/intc: QOM'ify slavio_intctl.c
...
Drop the old SysBus init function and use instance_init
Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com >
Reviewed-by: Peter Maydell <peter.maydell@linaro.org >
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2016-05-12 13:22:25 +01:00
90191d07a6
hw/intc: 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-27-git-send-email-peter.maydell@linaro.org
2016-01-29 15:07:24 +00:00
35d08458a9
savevm: Remove all the unneeded version_minimum_id_old (rest)
...
After previous Peter patch, they are redundant. This way we don't
assign them except when needed. Once there, there were lots of case
where the ".fields" indentation was wrong:
.fields = (VMStateField []) {
and
.fields = (VMStateField []) {
Change all the combinations to:
.fields = (VMStateField[]){
The biggest problem (appart from aesthetics) was that checkpatch complained
when we copy&pasted the code from one place to another.
Signed-off-by: Juan Quintela <quintela@redhat.com >
Reviewed-by: Peter Maydell <peter.maydell@linaro.org >
2014-05-14 15:24:51 +02:00
7d45e78401
hw/intc/slavio_intctl: Avoid shifting left into sign bit
...
Add 'U' suffix to avoid undefined behaviour.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru >
2014-03-27 19:22:49 +04:00
7abad863d7
slavio_intctl: QOM cast cleanup
...
Signed-off-by: Andreas Färber <afaerber@suse.de >
2013-07-29 21:06:58 +02:00
1437c94b26
hw/i*: 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
7702e47c21
hw: move interrupt controllers to hw/intc/, configure with default-configs/
...
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2013-04-08 18:13:16 +02:00