MIPS: Add CP0 CMGCRBase definitions & accessor
authorPaul Burton <paul.burton@imgtec.com>
Wed, 15 Jan 2014 10:31:47 +0000 (10:31 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 6 Mar 2014 20:25:22 +0000 (21:25 +0100)
commit4dd8ee5db10c9f287e9c925e3e98f3907bd1890d
tree9b6d85af01be51c25442abf8ea8d5a3bcea9125b
parent20a8d5d505c474c807b2b9831d6a5d3fca3c656d
MIPS: Add CP0 CMGCRBase definitions & accessor

The CMGCRBase register is defined by the PRA specification as an optional
register which indicates the physical base of the MIPS Coherence Manager
Global Control Register block. This patch simply adds a definition for
the base address field within the register, along with an accessor
function for reading the register.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6356/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mipsregs.h