Statistics
| Branch: | Revision:

root / target-m68k / exec.h @ 97428a4d

History | View | Annotate | Download (1.4 kB)

1 e6e5906b pbrook
/*
2 e6e5906b pbrook
 *  m68k execution defines
3 e6e5906b pbrook
 * 
4 e6e5906b pbrook
 *  Copyright (c) 2005-2006 CodeSourcery
5 e6e5906b pbrook
 *  Written by Paul Brook
6 e6e5906b pbrook
 *
7 e6e5906b pbrook
 * This library is free software; you can redistribute it and/or
8 e6e5906b pbrook
 * modify it under the terms of the GNU Lesser General Public
9 e6e5906b pbrook
 * License as published by the Free Software Foundation; either
10 e6e5906b pbrook
 * version 2 of the License, or (at your option) any later version.
11 e6e5906b pbrook
 *
12 e6e5906b pbrook
 * This library is distributed in the hope that it will be useful,
13 e6e5906b pbrook
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 e6e5906b pbrook
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15 e6e5906b pbrook
 * General Public License for more details.
16 e6e5906b pbrook
 *
17 e6e5906b pbrook
 * You should have received a copy of the GNU Lesser General Public
18 e6e5906b pbrook
 * License along with this library; if not, write to the Free Software
19 e6e5906b pbrook
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20 e6e5906b pbrook
 */
21 e6e5906b pbrook
#include "dyngen-exec.h"
22 e6e5906b pbrook
23 e6e5906b pbrook
register struct CPUM68KState *env asm(AREG0);
24 e6e5906b pbrook
/* This is only used for tb lookup.  */
25 e6e5906b pbrook
register uint32_t T0 asm(AREG1);
26 e6e5906b pbrook
/* ??? We don't use T1, but common code expects it to exist  */
27 e6e5906b pbrook
#define T1 env->t1
28 e6e5906b pbrook
29 e6e5906b pbrook
#include "cpu.h"
30 e6e5906b pbrook
#include "exec-all.h"
31 e6e5906b pbrook
32 e6e5906b pbrook
static inline void env_to_regs(void)
33 e6e5906b pbrook
{
34 e6e5906b pbrook
}
35 e6e5906b pbrook
36 e6e5906b pbrook
static inline void regs_to_env(void)
37 e6e5906b pbrook
{
38 e6e5906b pbrook
}
39 e6e5906b pbrook
40 e6e5906b pbrook
int cpu_m68k_handle_mmu_fault (CPUState *env, target_ulong address, int rw,
41 e6e5906b pbrook
                              int is_user, int is_softmmu);
42 e6e5906b pbrook
43 e6e5906b pbrook
44 e6e5906b pbrook
void cpu_m68k_flush_flags(CPUM68KState *env, int cc_op);
45 e6e5906b pbrook
float64 helper_sub_cmpf64(CPUM68KState *env, float64 src0, float64 src1);
46 e6e5906b pbrook
47 e6e5906b pbrook
void cpu_loop_exit(void);