]> git.proxmox.com Git - mirror_qemu.git/commit
hw/mips_cmgcr: implement RESET_BASE register in CM GCR
authorLeon Alrae <leon.alrae@imgtec.com>
Thu, 9 Jun 2016 09:46:52 +0000 (10:46 +0100)
committerLeon Alrae <leon.alrae@imgtec.com>
Tue, 12 Jul 2016 08:10:16 +0000 (09:10 +0100)
commitc09199fe73f382b66293a1f571b8cbaaed023629
tree10c45f5d17fffe119deac1c3ded5307f81186e51
parentdff94251f02708d2ef9aee5149abd69f039e4a13
hw/mips_cmgcr: implement RESET_BASE register in CM GCR

Implement RESET_BASE register which is local to each VP and a write to
it changes VP's reset exception base. Also, add OTHER register to
allow a software running on one VP to access other VP's local registers.

Guest can use this mechanism to specify custom address from which a VP
will start execution.

Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
hw/misc/mips_cmgcr.c
include/hw/misc/mips_cmgcr.h