aboutsummaryrefslogtreecommitdiff
path: root/hw/spapr_hcall.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2011-08-31 15:45:10 +0000
committerAlexander Graf <agraf@suse.de>2011-10-06 09:48:04 +0200
commit697ab892786d47008807a49f57b2fd86adfcd098 (patch)
treed64a416a4961237e980e9c5e3ab176adb95b44d8 /hw/spapr_hcall.c
parent2bd9543cd303d9f6cbd37b7466bb03543035156b (diff)
downloadqemu-697ab892786d47008807a49f57b2fd86adfcd098.zip
qemu-697ab892786d47008807a49f57b2fd86adfcd098.tar.gz
qemu-697ab892786d47008807a49f57b2fd86adfcd098.tar.bz2
Implement POWER7's CFAR in TCG
This patch implements support for the CFAR SPR on POWER7 (Come From Address Register), which snapshots the PC value at the time of a branch or an rfid. The latest powerpc-next kernel also catches it and can show it in xmon or in the signal frames. This works well enough to let recent kernels boot (which otherwise oops on the CFAR access). It hasn't been tested enough to be confident that the CFAR values are actually accurate, but one thing at a time. Signed-off-by: Ben Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/spapr_hcall.c')
0 files changed, 0 insertions, 0 deletions