]> Git Repo - qemu.git/blobdiff - target-microblaze/exec.h
revamp acpitable parsing and allow to specify complete (headerful) table
[qemu.git] / target-microblaze / exec.h
index 87b2494dc67340cd7ae343c4096eaaa551d5f5af..71b4d397edf0cad463e01a81d295259d698ca79c 100644 (file)
 register struct CPUMBState *env asm(AREG0);
 
 #include "cpu.h"
-#include "exec-all.h"
 
 #if !defined(CONFIG_USER_ONLY)
 #include "softmmu_exec.h"
 #endif
-
-static inline int cpu_has_work(CPUState *env)
-{
-    return (env->interrupt_request & (CPU_INTERRUPT_HARD | CPU_INTERRUPT_NMI));
-}
-
-static inline int cpu_halted(CPUState *env) {
-       if (!env->halted)
-               return 0;
-
-       /* IRQ, NMI and GURU execeptions wakes us up.  */
-       if (env->interrupt_request
-           & (CPU_INTERRUPT_HARD | CPU_INTERRUPT_NMI)) {
-               env->halted = 0;
-               return 0;
-       }
-       return EXCP_HALTED;
-}
-
-static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb)
-{
-    env->sregs[SR_PC] = tb->pc;
-}
-
This page took 0.021793 seconds and 4 git commands to generate.