[Qemu-devel] Run Qemu ARM system without MMU (MMUless)
Hi all, If I want to run Qemu ARM system to simulate a system without MMU (MMU less), how can I do? Thanks for your responses and best reagards, Tieu Stay in the know. Pulse on the new Yahoo.com. Check it out. ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] Run Qemu ARM system without MMU (MMUless)
Tieu Ma Dau wrote: If I want to run Qemu ARM system to simulate a system without MMU (MMU less), how can I do? Thanks for your responses and best reagards, Tieu Hi, according to target-arm/helper.c the MMU is enabled/disabled with coprocessor 15. if ((env->cp15.c1_sys & 1) == 0) { /* MMU diusabled. */ *phys_ptr = address; *prot = PAGE_READ | PAGE_WRITE; } else { /* Pagetable walk. */ } It is disabled when QEMU starts... -- Thorsten ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] Run Qemu ARM system without MMU (MMUless)
Thorsten Zitterell <[EMAIL PROTECTED]> wrote:according to target-arm/helper.c the MMU is enabled/disabled with coprocessor 15. if ((env->cp15.c1_sys & 1) == 0) { /* MMU diusabled. */ *phys_ptr = address; *prot = PAGE_READ | PAGE_WRITE; } else { /* Pagetable walk. */ }It is disabled when QEMU starts...Hi, Thanks for your response but I'm a newbie in ARM Linux and ARM CPU. Could you explain more clearly how can I disable this. Thanks a lot Tieu Get your email and more, right on the new Yahoo.com ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] Run Qemu ARM system without MMU (MMUless)
> Thanks for your response but I'm a newbie in ARM Linux and ARM CPU. Could > you explain more clearly how can I disable this. Thanks a lot Why exactly do you need to simulate a CPU without an MMU? As other people have pointed out the MMU has no effect until it is enabled. Nothing is forcing your OS to use the MMU. Paul ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel