Diff for /qemu/target-sh4/exec.h between versions 1.1.1.4 and 1.1.1.5

version 1.1.1.4, 2018/04/24 16:51:05 version 1.1.1.5, 2018/04/24 17:21:32
Line 14 Line 14
  * Lesser General Public License for more details.   * Lesser General Public License for more details.
  *   *
  * You should have received a copy of the GNU Lesser General Public   * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, write to the Free Software   * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA  02110-1301 USA  
  */   */
 #ifndef _EXEC_SH4_H  #ifndef _EXEC_SH4_H
 #define _EXEC_SH4_H  #define _EXEC_SH4_H
Line 28  register struct CPUSH4State *env asm(ARE Line 27  register struct CPUSH4State *env asm(ARE
 #include "cpu.h"  #include "cpu.h"
 #include "exec-all.h"  #include "exec-all.h"
   
   static inline int cpu_has_work(CPUState *env)
   {
       return (env->interrupt_request & CPU_INTERRUPT_HARD);
   }
   
 static inline int cpu_halted(CPUState *env) {  static inline int cpu_halted(CPUState *env) {
     if (!env->halted)      if (!env->halted)
         return 0;          return 0;
     if (env->interrupt_request & CPU_INTERRUPT_HARD) {      if (cpu_has_work(env)) {
         env->halted = 0;          env->halted = 0;
         env->intr_at_halt = 1;          env->intr_at_halt = 1;
         return 0;          return 0;

Removed from v.1.1.1.4  
changed lines
  Added in v.1.1.1.5


unix.superglobalmegacorp.com