root / target-arm / exec.h @ 8294eba1
History | View | Annotate | Download (2.1 kB)
1 | 2c0262af | bellard | /*
|
---|---|---|---|
2 | 2c0262af | bellard | * ARM execution defines
|
3 | 2c0262af | bellard | *
|
4 | 2c0262af | bellard | * Copyright (c) 2003 Fabrice Bellard
|
5 | 2c0262af | bellard | *
|
6 | 2c0262af | bellard | * This library is free software; you can redistribute it and/or
|
7 | 2c0262af | bellard | * modify it under the terms of the GNU Lesser General Public
|
8 | 2c0262af | bellard | * License as published by the Free Software Foundation; either
|
9 | 2c0262af | bellard | * version 2 of the License, or (at your option) any later version.
|
10 | 2c0262af | bellard | *
|
11 | 2c0262af | bellard | * This library is distributed in the hope that it will be useful,
|
12 | 2c0262af | bellard | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 | 2c0262af | bellard | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
14 | 2c0262af | bellard | * Lesser General Public License for more details.
|
15 | 2c0262af | bellard | *
|
16 | 2c0262af | bellard | * You should have received a copy of the GNU Lesser General Public
|
17 | 2c0262af | bellard | * License along with this library; if not, write to the Free Software
|
18 | 2c0262af | bellard | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
19 | 2c0262af | bellard | */
|
20 | 8294eba1 | ths | #include "config.h" |
21 | 2c0262af | bellard | #include "dyngen-exec.h" |
22 | 2c0262af | bellard | |
23 | 2c0262af | bellard | register struct CPUARMState *env asm(AREG0); |
24 | 2c0262af | bellard | register uint32_t T0 asm(AREG1); |
25 | 2c0262af | bellard | register uint32_t T1 asm(AREG2); |
26 | 2c0262af | bellard | register uint32_t T2 asm(AREG3); |
27 | 2c0262af | bellard | |
28 | b7bcbe95 | bellard | /* TODO: Put these in FP regs on targets that have such things. */
|
29 | b7bcbe95 | bellard | /* It is ok for FT0s and FT0d to overlap. Likewise FT1s and FT1d. */
|
30 | b7bcbe95 | bellard | #define FT0s env->vfp.tmp0s
|
31 | b7bcbe95 | bellard | #define FT1s env->vfp.tmp1s
|
32 | b7bcbe95 | bellard | #define FT0d env->vfp.tmp0d
|
33 | b7bcbe95 | bellard | #define FT1d env->vfp.tmp1d
|
34 | b7bcbe95 | bellard | |
35 | 2c0262af | bellard | #include "cpu.h" |
36 | 2c0262af | bellard | #include "exec-all.h" |
37 | 2c0262af | bellard | |
38 | 0d1a29f9 | bellard | static inline void env_to_regs(void) |
39 | 0d1a29f9 | bellard | { |
40 | 0d1a29f9 | bellard | } |
41 | 0d1a29f9 | bellard | |
42 | 0d1a29f9 | bellard | static inline void regs_to_env(void) |
43 | 0d1a29f9 | bellard | { |
44 | 0d1a29f9 | bellard | } |
45 | b8a9e8f1 | bellard | |
46 | b8a9e8f1 | bellard | int cpu_arm_handle_mmu_fault (CPUState *env, target_ulong address, int rw, |
47 | b8a9e8f1 | bellard | int is_user, int is_softmmu); |
48 | b7bcbe95 | bellard | |
49 | b5ff1b31 | bellard | #if !defined(CONFIG_USER_ONLY)
|
50 | b5ff1b31 | bellard | #include "softmmu_exec.h" |
51 | b5ff1b31 | bellard | #endif
|
52 | b5ff1b31 | bellard | |
53 | b7bcbe95 | bellard | /* In op_helper.c */
|
54 | b7bcbe95 | bellard | |
55 | b7bcbe95 | bellard | void cpu_lock(void); |
56 | b7bcbe95 | bellard | void cpu_unlock(void); |
57 | b5ff1b31 | bellard | void helper_set_cp15(CPUState *, uint32_t, uint32_t);
|
58 | b5ff1b31 | bellard | uint32_t helper_get_cp15(CPUState *, uint32_t); |
59 | b5ff1b31 | bellard | |
60 | b7bcbe95 | bellard | void cpu_loop_exit(void); |
61 | b7bcbe95 | bellard | |
62 | b7bcbe95 | bellard | void raise_exception(int); |
63 | b7bcbe95 | bellard | |
64 | b7bcbe95 | bellard | void do_vfp_abss(void); |
65 | b7bcbe95 | bellard | void do_vfp_absd(void); |
66 | b7bcbe95 | bellard | void do_vfp_negs(void); |
67 | b7bcbe95 | bellard | void do_vfp_negd(void); |
68 | b7bcbe95 | bellard | void do_vfp_sqrts(void); |
69 | b7bcbe95 | bellard | void do_vfp_sqrtd(void); |
70 | b7bcbe95 | bellard | void do_vfp_cmps(void); |
71 | b7bcbe95 | bellard | void do_vfp_cmpd(void); |
72 | b7bcbe95 | bellard | void do_vfp_cmpes(void); |
73 | b7bcbe95 | bellard | void do_vfp_cmped(void); |
74 | b7bcbe95 | bellard | void do_vfp_set_fpscr(void); |
75 | b7bcbe95 | bellard | void do_vfp_get_fpscr(void); |