1 |
/* |
2 |
* PearPC |
3 |
* jitc_asm.h |
4 |
* |
5 |
* Copyright (C) 2004 Sebastian Biallas (sb@biallas.net) |
6 |
* |
7 |
* This program is free software; you can redistribute it and/or modify |
8 |
* it under the terms of the GNU General Public License version 2 as |
9 |
* published by the Free Software Foundation. |
10 |
* |
11 |
* This program is distributed in the hope that it will be useful, |
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 |
* GNU General Public License for more details. |
15 |
* |
16 |
* You should have received a copy of the GNU General Public License |
17 |
* along with this program; if not, write to the Free Software |
18 |
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
19 |
*/ |
20 |
|
21 |
#ifndef __JITC_ASM_H__ |
22 |
#define __JITC_ASM_H__ |
23 |
|
24 |
#include "system/types.h" |
25 |
|
26 |
extern "C" void ppc_effective_to_physical_code_asm(); |
27 |
extern "C" void ppc_effective_to_physical_data_asm(); |
28 |
|
29 |
extern "C" void ppc_write_effective_byte_asm(); |
30 |
extern "C" void ppc_write_effective_half_asm(); |
31 |
extern "C" void ppc_write_effective_word_asm(); |
32 |
extern "C" void ppc_write_effective_dword_asm(); |
33 |
extern "C" void ppc_write_effective_qword_asm(); |
34 |
extern "C" void ppc_write_effective_qword_sse_asm(); |
35 |
|
36 |
extern "C" void ppc_read_effective_byte_asm(); |
37 |
extern "C" void ppc_read_effective_half_z_asm(); |
38 |
extern "C" void ppc_read_effective_half_s_asm(); |
39 |
extern "C" void ppc_read_effective_word_asm(); |
40 |
extern "C" void ppc_read_effective_dword_asm(); |
41 |
extern "C" void ppc_read_effective_qword_asm(); |
42 |
extern "C" void ppc_read_effective_qword_sse_asm(); |
43 |
|
44 |
extern "C" void ppc_opc_stswi_asm(); |
45 |
extern "C" void ppc_opc_lswi_asm(); |
46 |
extern "C" void ppc_opc_icbi_asm(); |
47 |
|
48 |
extern "C" void ppc_isi_exception_asm(); |
49 |
extern "C" void ppc_dsi_exception_asm(); |
50 |
extern "C" void ppc_dsi_exception_special_asm(); |
51 |
extern "C" void ppc_program_exception_asm(); |
52 |
extern "C" void ppc_no_fpu_exception_asm(); |
53 |
extern "C" void ppc_no_vec_exception_asm(); |
54 |
extern "C" void ppc_sc_exception_asm(); |
55 |
extern "C" void ppc_flush_flags_asm(); |
56 |
extern "C" void ppc_flush_flags_signed_even_asm(); |
57 |
extern "C" void ppc_flush_flags_signed_odd_asm(); |
58 |
extern "C" void ppc_flush_flags_signed_0_asm(); |
59 |
extern "C" void ppc_flush_flags_unsigned_even_asm(); |
60 |
extern "C" void ppc_flush_flags_unsigned_odd_asm(); |
61 |
extern "C" void ppc_flush_flags_unsigned_0_asm(); |
62 |
extern "C" void ppc_new_pc_asm(); |
63 |
extern "C" void ppc_new_pc_rel_asm(); |
64 |
extern "C" void ppc_new_pc_this_page_asm(); |
65 |
extern "C" void ppc_heartbeat_ext_asm(); |
66 |
extern "C" void ppc_heartbeat_ext_rel_asm(); |
67 |
|
68 |
|
69 |
extern "C" void ppc_set_msr_asm(); |
70 |
extern "C" void ppc_mmu_tlb_invalidate_all_asm(); |
71 |
extern "C" void ppc_mmu_tlb_invalidate_entry_asm(); |
72 |
|
73 |
extern "C" void FASTCALL ppc_start_jitc_asm(uint32 newpc); |
74 |
extern "C" bool FASTCALL ppc_cpuid_asm(uint32 level, void *struc); |
75 |
|
76 |
#endif |