]> git.ipfire.org Git - thirdparty/qemu.git/commit
target-mips: add KScratch registers
authorLeon Alrae <leon.alrae@imgtec.com>
Mon, 7 Jul 2014 10:23:55 +0000 (11:23 +0100)
committerLeon Alrae <leon.alrae@imgtec.com>
Mon, 3 Nov 2014 11:48:34 +0000 (11:48 +0000)
commite98c0d179fe43adb99a39b7bf7c74820adc3c0ca
tree58cef5467bd9bd00df214dbaecbc02a01bbafd72
parent0a2923f8488498000eec54871456aa64a4391da4
target-mips: add KScratch registers

KScratch<n> Registers (CP0 Register 31, Selects 2 to 7)

The KScratch registers are read/write registers available for scratch pad
storage by kernel mode software. They are 32-bits in width for 32-bit
processors and 64-bits for 64-bit processors.

CP0Config4.KScrExist[2:7] bits indicate presence of CP0_KScratch1-6 registers.
For Release 6, all KScratch registers are required.

Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Reviewed-by: Yongbok Kim <yongbok.kim@imgtec.com>
target-mips/cpu.h
target-mips/translate.c