PPC: e500: initialize GPRs as per epapr
commitcefd3cdbdd9fc9a7d5ab324291904074d2aa69a0
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:22:47 +0000 (6 17:22 +0200)
tree804570592705cfef43adc172d5f27f73ebccedf8
parentb55519a0f29fca0ef7ebc5d87ee4bfa7304dc219
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