target/ppc: removed VSCR from SPR registration
authorBruno Larsen (billionai) <bruno.larsen@eldorado.org.br>
Fri, 30 Apr 2021 19:35:31 +0000 (16:35 -0300)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 4 May 2021 03:12:59 +0000 (13:12 +1000)
commitf350982f5e1715875e547f639baea8c1c9e60bba
tree954911398475dea9ee950f31865c241bf1b6f242
parent72369f5c959bfdade757d89248b260bc6c648130
target/ppc: removed VSCR from SPR registration

Since vscr is not an spr, its initialization was removed from the
spr registration functions, and moved to the relevant init_procs.

We may look into adding vscr to the reset path instead of the init
path (as suggested by David Gibson), but this looked like a good
enough solution for now.

Signed-off-by: Bruno Larsen (billionai) <bruno.larsen@eldorado.org.br>
Message-Id: <20210430193533.82136-6-bruno.larsen@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/translate_init.c.inc