Jean-Christophe Dubois
4a6aa0af85
i.MX: Standardize i.MX CCM debug
...
The goal is to have debug code always compiled during build.
We standardize all debug output on the following format:
[QOM_TYPE_NAME]reporting_function: debug message
The qemu_log_mask() output is following the same format as the
above debug.
Adding some missing qemu_log_mask call for bad registers.
Reviewed-by: Peter Crosthwaite <crosthwaite.peter@gmail.com >
Signed-off-by: Jean-Christophe Dubois <jcd@tribudubois.net >
Message-id: 293e08f31cbb4df84d58f693243e61e770c73b3a.1445781957.git.jcd@tribudubois.net
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2015-10-27 15:59:46 +00:00
Jean-Christophe Dubois
c14875b2e1
i.MX: Fix Coding style for CCM emulator
...
Signed-off-by: Jean-Christophe Dubois <jcd@tribudubois.net >
Reviewed-by: Peter Crosthwaite <crosthwaite.peter@gmail.com >
Message-id: ff0b6720b1c55204e663f07be47c0203f6871084.1437080501.git.jcd@tribudubois.net
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2015-08-13 11:26:20 +01:00
Jean-Christophe Dubois
282e74c83f
i.MX: Split CCM emulator in a header file and a source file
...
Signed-off-by: Jean-Christophe Dubois <jcd@tribudubois.net >
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com >
Message-id: b1d6f990229b2608bbaba24f4ff359571c0b07da.1437080501.git.jcd@tribudubois.net
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2015-08-13 11:26:20 +01:00
Peter Maydell
ef493d5c29
hw/misc/imx_ccm.c: Add missing VMState list terminator
...
The VMStateDescription for the imx_ccm device was missing its
terminator. Found by static search of the codebase using
a regex based on one suggested by Ian Jackson:
pcregrep -rMi '(?s)VMStateField(?:(?!END_OF_LIST).)*?;' $(git grep -l 'VMStateField\[\]')
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
Cc: qemu-stable@nongnu.org
2014-07-22 17:53:36 +01:00
Juan Quintela
8f1e884b38
savevm: Remove all the unneeded version_minimum_id_old (arm)
...
After commit 767adce2d
, they are redundant. This way we don't assign them
except when needed. Once there, there were lots of cases where the ".fields"
indentation was wrong:
.fields = (VMStateField []) {
and
.fields = (VMStateField []) {
Change all the combinations to:
.fields = (VMStateField[]){
The biggest problem (apart 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 >
[PMM: fixed minor conflict, corrected commit message typos]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2014-05-13 16:09:35 +01:00
Andreas Färber
bcb34c7a61
imx_ccm: QOM cast cleanup
...
Introduce type constant and use QOM casts.
Acked-by: Peter Chubb <peter.chubb@nicta.com.au >
Signed-off-by: Andreas Färber <afaerber@suse.de >
2013-07-29 21:06:05 +02: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
Stefan Weil
f3c8fac25f
i.MX31: Fix PRCS bit test
...
cppcheck detected a condition which was always false.
According to the MCIMX31 Reference Manual, the PRCS bits have to be 01
to select the Frequency Pre-Multiplier (FPM). PRCS uses bits 1 and 2,
so we have to test for 2.
Signed-off-by: Stefan Weil <sw@weilnetz.de >
Signed-off-by: Peter Chubb <peter.chubb@nicta.com.au >
Message-id: 1370810662-32320-1-git-send-email-sw@weilnetz.de
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2013-06-25 18:42:49 +01: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