hw/mips: add initial Global Config Register support
authorYongbok Kim <yongbok.kim@imgtec.com>
Tue, 15 Mar 2016 09:59:28 +0000 (09:59 +0000)
committerLeon Alrae <leon.alrae@imgtec.com>
Wed, 30 Mar 2016 08:13:59 +0000 (09:13 +0100)
commit3994215db442e11880cfd0c337137d6dcf56e11d
treeecce721b4211323b7343e97667ae42f3253f855b
parentc870e3f52cac0c8a4a1377398327c4ff20d49d41
hw/mips: add initial Global Config Register support

Add initial GCR support to indicate number of VPs present in the system,
L2 bypass mode and revision number.

Signed-off-by: Yongbok Kim <yongbok.kim@imgtec.com>
[leon.alrae@imgtec.com:
 * removed GIC part,
 * changed commit message,
 * replaced %lx format spec. with PRIx64,
 * renamed mips_gcr.{c,h} to mips_cmgcr.{c,h},
 * replaced CONFIG_MIPS_GIC with CONFIG_MIPS_CPS]
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
hw/misc/Makefile.objs
hw/misc/mips_cmgcr.c [new file with mode: 0644]
include/hw/misc/mips_cmgcr.h [new file with mode: 0644]