On 6 January 2012 12:45, Xin Tong <xerox.time.t...@gmail.com> wrote:
> In qemu soft TLB, there is a MMU modes. what is it and what does it do
> ? I see target-mips, NB_MMU_MODES is defined to be 3, unfortunately,
> there is no comments on what each one of them means in the code.

This distinguishes TLB entries for kernel mode from those for user mode
and so on. Look in target-mips/cpu.h for the MMU_MODE[012]_SUFFIX
definitions and the cpu_mmu_index() function, which should tell you what
MIPS in particular uses them for.

-- PMM

Reply via email to