Peter Maydell
0d1c9782a1
hw/misc: 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-25-git-send-email-peter.maydell@linaro.org
2016-01-29 15:07:24 +00:00
Mark Cave-Ayland
0e1cd6576c
sun4m: fix slavio sysctrl and led register sizes
...
These were being incorrectly declared as MISC_SIZE (1 byte) rather than
4 bytes and 2 bytes respectively. As a result accesses clamped to the
real register size would unexpectedly fail.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk >
CC: Paolo Bonzini <pbonzini@redhat.com >
Message-Id: <1427987370-15897-1-git-send-email-mark.cave-ayland@ilande.co.uk >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2015-04-27 18:24:18 +02:00
Juan Quintela
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
Andreas Färber
f1a0a79f4f
slavio_misc: QOM cast cleanup for APCState
...
Signed-off-by: Andreas Färber <afaerber@suse.de >
2013-07-29 21:06:59 +02:00
Andreas Färber
95eb2084f9
slavio_misc: QOM cast cleanup for MiscState
...
Signed-off-by: Andreas Färber <afaerber@suse.de >
2013-07-29 21:06:59 +02:00
Markus Armbruster
f3a64b8c89
slavio_misc: Fix slavio_led_mem_readw/_writew tracepoints
...
Broken since they got added in commit 97bf485
.
Signed-off-by: Markus Armbruster <armbru@redhat.com >
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com >
2013-07-18 11:44:42 +08:00
Paolo Bonzini
3c16154210
hw/m*: pass owner to memory_region_init* functions
...
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2013-07-04 17:42:48 +02:00
Paolo Bonzini
2c9b15cab1
memory: add owner argument to initialization functions
...
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2013-07-04 17:42:44 +02:00
Paolo Bonzini
e28bee8ee6
hw: move other devices to hw/misc/, configure with default-configs/
...
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2013-04-08 18:13:16 +02:00