aboutsummaryrefslogtreecommitdiff
path: root/hw/mips/cps.c
diff options
context:
space:
mode:
authorAleksandar Markovic <amarkovic@wavecomp.com>2019-08-19 14:07:51 +0200
committerAleksandar Markovic <amarkovic@wavecomp.com>2019-08-19 19:53:37 +0200
commitf5c3fbfca5477fe7a70bd08c595d03543c62fce0 (patch)
tree5078cd62299952e4ff5478ca69ff405fa2006320 /hw/mips/cps.c
parent71375b59241a27b75d287b9216e5e82e43d763d8 (diff)
downloadqemu-f5c3fbfca5477fe7a70bd08c595d03543c62fce0.zip
qemu-f5c3fbfca5477fe7a70bd08c595d03543c62fce0.tar.gz
qemu-f5c3fbfca5477fe7a70bd08c595d03543c62fce0.tar.bz2
target/mips: Style improvements in cps.c
Fixes mostly errors and warnings reported by 'checkpatch.pl -f'. Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com> Reviewed-by: Aleksandar Rikalo <arikalo@wavecomp.com> Message-Id: <1566216496-17375-13-git-send-email-aleksandar.markovic@rt-rk.com>
Diffstat (limited to 'hw/mips/cps.c')
-rw-r--r--hw/mips/cps.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/hw/mips/cps.c b/hw/mips/cps.c
index cd8b07d..1660f86 100644
--- a/hw/mips/cps.c
+++ b/hw/mips/cps.c
@@ -38,8 +38,10 @@ static void mips_cps_init(Object *obj)
SysBusDevice *sbd = SYS_BUS_DEVICE(obj);
MIPSCPSState *s = MIPS_CPS(obj);
- /* Cover entire address space as there do not seem to be any
- * constraints for the base address of CPC and GIC. */
+ /*
+ * Cover entire address space as there do not seem to be any
+ * constraints for the base address of CPC and GIC.
+ */
memory_region_init(&s->container, obj, "mips-cps-container", UINT64_MAX);
sysbus_init_mmio(sbd, &s->container);
}