diff options
Diffstat (limited to 'target-ppc/helper.h')
-rw-r--r-- | target-ppc/helper.h | 21 |
1 files changed, 21 insertions, 0 deletions
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 + + |