00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #if !defined (__ALPHA_EXEC_H__)
00022 #define __ALPHA_EXEC_H__
00023
00024 #include "config.h"
00025
00026 #include "dyngen-exec.h"
00027
00028 #define TARGET_LONG_BITS 64
00029
00030 register struct CPUAlphaState *env asm(AREG0);
00031
00032 #define PARAM(n) ((uint64_t)PARAM##n)
00033 #define SPARAM(n) ((int32_t)PARAM##n)
00034 #define FP_STATUS (env->fp_status)
00035
00036 #include "cpu.h"
00037 #include "exec-all.h"
00038
00039 #if !defined(CONFIG_USER_ONLY)
00040 #include "softmmu_exec.h"
00041 #endif
00042
00043 static always_inline void env_to_regs(void)
00044 {
00045 }
00046
00047 static always_inline void regs_to_env(void)
00048 {
00049 }
00050
00051 static always_inline int cpu_halted(CPUState *env) {
00052 if (!env->halted)
00053 return 0;
00054 if (env->interrupt_request & CPU_INTERRUPT_HARD) {
00055 env->halted = 0;
00056 return 0;
00057 }
00058 return EXCP_HALTED;
00059 }
00060
00061 #endif