Re: [Qemu-devel] [PATCH 01/12] target-mips: add KScratch registers

2014-07-08 Thread Leon Alrae
On 20/06/2014 23:02, Aurelien Jarno wrote: >> @@ -5198,6 +5199,12 @@ static void gen_mfc0(DisasContext *ctx, TCGv arg, int >> reg, int sel) >> gen_mfc0_load32(arg, offsetof(CPUMIPSState, CP0_DESAVE)); >> rn = "DESAVE"; >> break; >> +case 2 ... 7: >> +

Re: [Qemu-devel] [PATCH 01/12] target-mips: add KScratch registers

2014-06-20 Thread Aurelien Jarno
On Thu, Jun 19, 2014 at 03:45:32PM +0100, Leon Alrae wrote: > KScratch 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-b

[Qemu-devel] [PATCH 01/12] target-mips: add KScratch registers

2014-06-19 Thread Leon Alrae
KScratch 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 CP