mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
target-sh4: implement writes to mmaped ITLB
Some Linux kernels seems to implement ITLB/UTLB flushing through by writing all TLB entries through the memory mapped interface instead of writing one to MMUCR.TI. Implement memory mapped ITLB write interface so that such kernels can boot. This fixes https://bugs.launchpad.net/bugs/700774 . Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
759c90ba3d
commit
c0f809c46a
3 changed files with 23 additions and 0 deletions
|
@ -670,6 +670,8 @@ static void sh7750_mmct_writel(void *opaque, target_phys_addr_t addr,
|
|||
/* do nothing */
|
||||
break;
|
||||
case MM_ITLB_ADDR:
|
||||
cpu_sh4_write_mmaped_itlb_addr(s->cpu, addr, mem_value);
|
||||
break;
|
||||
case MM_ITLB_DATA:
|
||||
/* XXXXX */
|
||||
abort();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue