PPC: e500: initialize GPRs as per epapr
commitf8f4fb5702560af24bc2a8eb11d7cd18603c11ff
authorBharat Bhushan <r65777@freescale.com>
Mon, 29 Apr 2013 04:40:56 +0000 (29 04:40 +0000)
committerAlexander Graf <agraf@suse.de>
Mon, 6 May 2013 15:16:59 +0000 (6 17:16 +0200)
tree804570592705cfef43adc172d5f27f73ebccedf8
parent524daaa58177ca6f058a006e654028fdd331c7b6
PPC: e500: initialize GPRs as per epapr

ePAPR defines the initial values of cpu registers.
This patch initialize the GPRs as per ePAPR specification.

This resolves the issue of guest reboot/reset (guest hang on reboot).

Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
[agraf: add whitespace line]
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/e500.c