Revision 36081602 target-ppc/cpu.h
b/target-ppc/cpu.h | ||
---|---|---|
822 | 822 |
}; |
823 | 823 |
|
824 | 824 |
/*****************************************************************************/ |
825 |
CPUPPCState *cpu_ppc_init(void); |
|
826 |
int cpu_ppc_exec(CPUPPCState *s); |
|
827 |
void cpu_ppc_close(CPUPPCState *s); |
|
825 |
CPUPPCState *cpu_ppc_init (void);
|
|
826 |
int cpu_ppc_exec (CPUPPCState *s);
|
|
827 |
void cpu_ppc_close (CPUPPCState *s);
|
|
828 | 828 |
/* you can call this signal handler from your SIGBUS and SIGSEGV |
829 | 829 |
signal handlers to inform the virtual CPU of exceptions. non zero |
830 | 830 |
is returned if the signal was handled by the virtual CPU. */ |
831 |
int cpu_ppc_signal_handler(int host_signum, void *pinfo, |
|
832 |
void *puc); |
|
831 |
int cpu_ppc_signal_handler (int host_signum, void *pinfo,
|
|
832 |
void *puc);
|
|
833 | 833 |
|
834 | 834 |
void do_interrupt (CPUPPCState *env); |
835 | 835 |
void ppc_hw_interrupt (CPUPPCState *env); |
836 |
void cpu_loop_exit(void); |
|
836 |
void cpu_loop_exit (void);
|
|
837 | 837 |
|
838 | 838 |
void dump_stack (CPUPPCState *env); |
839 | 839 |
|
... | ... | |
891 | 891 |
void store_booke_tcr (CPUPPCState *env, target_ulong val); |
892 | 892 |
void store_booke_tsr (CPUPPCState *env, target_ulong val); |
893 | 893 |
void ppc_tlb_invalidate_all (CPUPPCState *env); |
894 |
int ppcemb_tlb_search (CPUPPCState *env, target_ulong address); |
|
894 |
int ppcemb_tlb_search (CPUPPCState *env, target_ulong address, uint32_t pid);
|
|
895 | 895 |
#endif |
896 | 896 |
#endif |
897 | 897 |
|
... | ... | |
915 | 915 |
#define XER_OV 30 |
916 | 916 |
#define XER_CA 29 |
917 | 917 |
#define XER_CMP 8 |
918 |
#define XER_BC 0 |
|
918 |
#define XER_BC 0
|
|
919 | 919 |
#define xer_so env->xer[4] |
920 | 920 |
#define xer_ov env->xer[6] |
921 | 921 |
#define xer_ca env->xer[2] |
922 | 922 |
#define xer_cmp env->xer[1] |
923 |
#define xer_bc env->xer[0] |
|
923 |
#define xer_bc env->xer[0]
|
|
924 | 924 |
|
925 | 925 |
/* SPR definitions */ |
926 | 926 |
#define SPR_MQ (0x000) |
Also available in: Unified diff