s390/cpu: split CPU reset into architectured functions
commitf5ae2a4fd8d573cfebaf24220e2920bb5074d9a6
authorChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 28 Jun 2013 08:51:09 +0000 (28 10:51 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 30 Aug 2013 12:16:43 +0000 (30 14:16 +0200)
tree48f8acae8b99e3f527bf5c0508ca9304920e19a7
parent29c6157ca7bfa036a8c59805c1a1d76ba9a2a851
s390/cpu: split CPU reset into architectured functions

s390 provides several CPU resets:
- CPU reset, clears interrupts, stop processing, clears TLB, but does
  not touch registers
- initial CPU reset, like CPU reset, but also clears PSW, prefix, FPC,
  timer and control registers. It does not touch gprs, fprs and acrs (!)
- Power on reset: the full monty

wire up CPUClass reset to the full monty, but provide the lesser resets
as part of S390CPUClass.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
target-s390x/cpu-qom.h
target-s390x/cpu.c