~jderose/ubuntu/raring/qemu/vde-again

« back to all changes in this revision

Viewing changes to target-alpha/exec.h

  • Committer: Bazaar Package Importer
  • Author(s): Aurelien Jarno, Aurelien Jarno
  • Date: 2009-03-07 06:20:34 UTC
  • mfrom: (1.1.9 upstream)
  • mto: This revision was merged to the branch mainline in revision 7.
  • Revision ID: james.westby@ubuntu.com-20090307062034-i3pead4mw653v2el
Tags: 0.10.0-1
[ Aurelien Jarno ]
* New upstream release:
  - Fix fr-be keyboard mapping (closes: bug#514462).
  - Fix stat64 structure on ppc-linux-user (closes: bug#470231).
  - Add a chroot option (closes: bug#415996).
  - Add evdev support (closes: bug#513210).
  - Fix loop on symlinks in user mode (closes: bug#297572).
  - Bump depends on openbios-sparc.
  - Depends on openbios-ppc.
  - Update 12_signal_powerpc_support.patch.
  - Update 21_net_soopts.patch.
  - Drop 44_socklen_t_check.patch (merged upstream).
  - Drop 49_null_check.patch (merged upstream).
  - Update 64_ppc_asm_constraints.patch.
  - Drop security/CVE-2008-0928-fedora.patch (merged upstream).
  - Drop security/CVE-2007-5730.patch (merged upstream).
* patches/80_stable-branch.patch: add patches from stable branch:
  - Fix race condition between signal handler/execution loop (closes:
    bug#474386, bug#501731).
* debian/copyright: update.
* Compile and install .dtb files:
  - debian/control: build-depends on device-tree-compiler.
  - debian/patches/81_compile_dtb.patch: new patch from upstream.
  - debian/rules: compile and install bamboo.dtb and mpc8544.dtb.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 *
16
16
 * You should have received a copy of the GNU Lesser General Public
17
17
 * License along with this library; if not, write to the Free Software
18
 
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA  02110-1301 USA
19
19
 */
20
20
 
21
21
#if !defined (__ALPHA_EXEC_H__)
29
29
 
30
30
register struct CPUAlphaState *env asm(AREG0);
31
31
 
32
 
#if TARGET_LONG_BITS > HOST_LONG_BITS
33
 
 
34
 
/* no registers can be used */
35
 
#define T0 (env->t0)
36
 
#define T1 (env->t1)
37
 
#define T2 (env->t2)
38
 
 
39
 
#else
40
 
 
41
 
register uint64_t T0 asm(AREG1);
42
 
register uint64_t T1 asm(AREG2);
43
 
register uint64_t T2 asm(AREG3);
44
 
 
45
 
#endif /* TARGET_LONG_BITS > HOST_LONG_BITS */
46
 
 
47
32
#define PARAM(n) ((uint64_t)PARAM##n)
48
33
#define SPARAM(n) ((int32_t)PARAM##n)
49
 
#define FT0 (env->ft0)
50
 
#define FT1 (env->ft1)
51
 
#define FT2 (env->ft2)
52
34
#define FP_STATUS (env->fp_status)
53
35
 
54
 
#if defined (DEBUG_OP)
55
 
#define RETURN() __asm__ __volatile__("nop" : : : "memory");
56
 
#else
57
 
#define RETURN() __asm__ __volatile__("" : : : "memory");
58
 
#endif
59
 
 
60
36
#include "cpu.h"
61
37
#include "exec-all.h"
62
38
 
72
48
{
73
49
}
74
50
 
75
 
int cpu_alpha_handle_mmu_fault (CPUState *env, uint64_t address, int rw,
76
 
                                int mmu_idx, int is_softmmu);
77
 
int cpu_alpha_mfpr (CPUState *env, int iprn, uint64_t *valp);
78
 
int cpu_alpha_mtpr (CPUState *env, int iprn, uint64_t val, uint64_t *oldvalp);
79
 
 
80
 
void do_interrupt (CPUState *env);
81
 
 
82
51
static always_inline int cpu_halted(CPUState *env) {
83
52
    if (!env->halted)
84
53
        return 0;