mirror of https://gitee.com/openkylin/qemu.git
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>
This commit is contained in:
parent
71375b5924
commit
f5c3fbfca5
|
@ -38,8 +38,10 @@ static void mips_cps_init(Object *obj)
|
||||||
SysBusDevice *sbd = SYS_BUS_DEVICE(obj);
|
SysBusDevice *sbd = SYS_BUS_DEVICE(obj);
|
||||||
MIPSCPSState *s = MIPS_CPS(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);
|
memory_region_init(&s->container, obj, "mips-cps-container", UINT64_MAX);
|
||||||
sysbus_init_mmio(sbd, &s->container);
|
sysbus_init_mmio(sbd, &s->container);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue