Revision 06afe2c8 hw/sh7750.c

b/hw/sh7750.c
30 30
#include "sh7750_regs.h"
31 31
#include "sh7750_regnames.h"
32 32
#include "sh_intc.h"
33
#include "exec-all.h"
33 34
#include "cpu.h"
34 35

  
35 36
#define NB_DEVICES 4
......
356 357
	s->cpu->mmucr = mem_value;
357 358
	return;
358 359
    case SH7750_PTEH_A7:
360
        /* If asid changes, clear all registered tlb entries. */
361
	if ((s->cpu->pteh & 0xff) != (mem_value & 0xff))
362
	    tlb_flush(s->cpu, 1);
359 363
	s->cpu->pteh = mem_value;
360 364
	return;
361 365
    case SH7750_PTEL_A7:

Also available in: Unified diff