qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] MMU Modes


From: Peter Maydell
Subject: Re: [Qemu-devel] MMU Modes
Date: Fri, 6 Jan 2012 12:55:50 +0000

On 6 January 2012 12:45, Xin Tong <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]