summaryrefslogtreecommitdiff
path: root/target-ppc/cpu.h
diff options
context:
space:
mode:
authorFabien Chouteau <chouteau@adacore.com>2013-03-19 07:41:53 +0000
committerAlexander Graf <agraf@suse.de>2013-03-22 15:28:46 +0100
commitd6478bc7e92db4669fac701d7bb8c51756b61d8a (patch)
tree61898f343ee12570cc85fee4216c61aa00456b32 /target-ppc/cpu.h
parent7b5651605836fd29572fd4c8769af5378d351712 (diff)
downloadqemu-d6478bc7e92db4669fac701d7bb8c51756b61d8a.tar.gz
PPC/GDB: handle read and write of fpscr
Although the support of this register may be uncomplete, there are no reason to prevent the debugger from reading or writing it. Signed-off-by: Fabien Chouteau <chouteau@adacore.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/cpu.h')
-rw-r--r--target-ppc/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
index 6886666d6e..9b9c784366 100644
--- a/target-ppc/cpu.h
+++ b/target-ppc/cpu.h
@@ -1180,6 +1180,8 @@ void ppc_tlb_invalidate_one (CPUPPCState *env, target_ulong addr);
#endif
#endif
+void store_fpscr(CPUPPCState *env, uint64_t arg, uint32_t mask);
+
static inline uint64_t ppc_dump_gpr(CPUPPCState *env, int gprn)
{
uint64_t gprv;