OSDN Git Service

target-ppc: Add Target Address SPR (TAR) to Power8
authorTom Musta <tommusta@gmail.com>
Mon, 10 Feb 2014 17:26:54 +0000 (11:26 -0600)
committerAlexander Graf <agraf@suse.de>
Wed, 5 Mar 2014 02:06:49 +0000 (03:06 +0100)
commit60511041d6b846c9b6804a2c552ceda27d4e1f06
tree0ee7649325375e5bd5319f9e9dfffc5cb61005bf
parent94840e0700a3cbd0b0d99ae9ddecf47b4bbcc5d7
target-ppc: Add Target Address SPR (TAR) to Power8

This patch adds support for the Target Address Register (TAR) to the Power8
model.

Because supported SPRs are typically identified in an init_proc_*()
function and because the Power8 model is currently just using the
init_proc_POWER7() function, a new init_proc_POWER8() function
is added and plugged into the P8 model.

Signed-off-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/cpu.h
target-ppc/translate_init.c