From 61c0480722bd86380e396db537bd8fea403b37db Mon Sep 17 00:00:00 2001 From: aurel32 Date: Sun, 24 Aug 2008 19:05:35 +0000 Subject: PPC: Switch a few instructions to TCG Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5083 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-ppc/helper.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 target-ppc/helper.h (limited to 'target-ppc/helper.h') diff --git a/target-ppc/helper.h b/target-ppc/helper.h new file mode 100644 index 0000000..1d3078e --- /dev/null +++ b/target-ppc/helper.h @@ -0,0 +1,21 @@ +#ifndef DEF_HELPER +#define DEF_HELPER(ret, name, params) ret name params; +#endif + +DEF_HELPER(target_ulong, do_load_cr, (void)) +DEF_HELPER(void, do_print_mem_EA, (target_ulong)) +DEF_HELPER(void, do_store_cr, (uint32_t)) + +#if !defined (CONFIG_USER_ONLY) +DEF_HELPER(void, do_store_msr, (target_ulong)) +#if defined(TARGET_PPC64) +DEF_HELPER(void, do_store_msr_32, (target_ulong)) +#endif +#endif + +DEF_HELPER(target_ulong, do_popcntb, (target_ulong)) +#if defined(TARGET_PPC64) +DEF_HELPER(target_ulong, do_popcntb_64, (target_ulong)) +#endif + + -- cgit v1.1