]> git.proxmox.com Git - mirror_qemu.git/blobdiff - target-alpha/exec.h
Move cpu_has_work and cpu_pc_from_tb to cpu.h
[mirror_qemu.git] / target-alpha / exec.h
index 99b31312e3d5848db8a294e015b273172a98de2c..f5089963b8c83c5fa387c674d10c2079f4ccdc7d 100644 (file)
@@ -14,8 +14,7 @@
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
 #if !defined (__ALPHA_EXEC_H__)
@@ -29,8 +28,6 @@
 
 register struct CPUAlphaState *env asm(AREG0);
 
-#define PARAM(n) ((uint64_t)PARAM##n)
-#define SPARAM(n) ((int32_t)PARAM##n)
 #define FP_STATUS (env->fp_status)
 
 #include "cpu.h"
@@ -40,27 +37,4 @@ register struct CPUAlphaState *env asm(AREG0);
 #include "softmmu_exec.h"
 #endif /* !defined(CONFIG_USER_ONLY) */
 
-static always_inline void env_to_regs(void)
-{
-}
-
-static always_inline void regs_to_env(void)
-{
-}
-
-int cpu_alpha_handle_mmu_fault (CPUState *env, uint64_t address, int rw,
-                                int mmu_idx, int is_softmmu);
-
-void do_interrupt (CPUState *env);
-
-static always_inline int cpu_halted(CPUState *env) {
-    if (!env->halted)
-        return 0;
-    if (env->interrupt_request & CPU_INTERRUPT_HARD) {
-        env->halted = 0;
-        return 0;
-    }
-    return EXCP_HALTED;
-}
-
 #endif /* !defined (__ALPHA_EXEC_H__) */