diff options
author | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-16 08:56:52 +0000 |
---|---|---|
committer | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-16 08:56:52 +0000 |
commit | 0a032cbec69c268272a118f19e64c16e73d56cc0 (patch) | |
tree | c2e2f0a67ac42a5729aaa50b73aebf5dca13f00a /target-ppc/cpu.h | |
parent | dd37a5e4d7ebc4e698f4c69ad2a5ee922824703f (diff) |
Add reset callbacks for PowerPC CPU.
Move cpu_ppc_init, cpu_ppc_close, cpu_ppc_reset and ppc_tlb_invalidate
into helper.c as they are to be called from outside of the translated code.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2682 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/cpu.h')
-rw-r--r-- | target-ppc/cpu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h index 1e309f91d1..5cd1b6008c 100644 --- a/target-ppc/cpu.h +++ b/target-ppc/cpu.h @@ -860,6 +860,9 @@ void do_store_msr (CPUPPCState *env, target_ulong value); void ppc_store_msr_32 (CPUPPCState *env, uint32_t value); void do_compute_hflags (CPUPPCState *env); +void cpu_ppc_reset (void *opaque); +CPUPPCState *cpu_ppc_init (void); +void cpu_ppc_close(CPUPPCState *env); int ppc_find_by_name (const unsigned char *name, ppc_def_t **def); int ppc_find_by_pvr (uint32_t apvr, ppc_def_t **def); @@ -883,6 +886,7 @@ target_ulong load_40x_pit (CPUPPCState *env); void store_40x_pit (CPUPPCState *env, target_ulong val); void store_booke_tcr (CPUPPCState *env, target_ulong val); void store_booke_tsr (CPUPPCState *env, target_ulong val); +void ppc_tlb_invalidate_all (CPUPPCState *env); #endif #endif |