* [Qemu-devel] qemu vnc.c
@ 2006-08-24 20:36 Fabrice Bellard
2006-08-25 8:25 ` [Qemu-devel] Run Qemu ARM system without MMU (MMUless) Tieu Ma Dau
0 siblings, 1 reply; 5+ messages in thread
From: Fabrice Bellard @ 2006-08-24 20:36 UTC (permalink / raw)
To: qemu-devel
CVSROOT: /sources/qemu
Module name: qemu
Changes by: Fabrice Bellard <bellard> 06/08/24 20:36:44
Modified files:
. : vnc.c
Log message:
signed fixes - VNC console switch (initial patch by Andrzej Zaborowski)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/vnc.c?cvsroot=qemu&r1=1.7&r2=1.8
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Qemu-devel] Run Qemu ARM system without MMU (MMUless)
2006-08-24 20:36 [Qemu-devel] qemu vnc.c Fabrice Bellard
@ 2006-08-25 8:25 ` Tieu Ma Dau
2006-08-25 12:24 ` Thorsten Zitterell
0 siblings, 1 reply; 5+ messages in thread
From: Tieu Ma Dau @ 2006-08-25 8:25 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 254 bytes --]
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.
[-- Attachment #2: Type: text/html, Size: 327 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Run Qemu ARM system without MMU (MMUless)
2006-08-25 8:25 ` [Qemu-devel] Run Qemu ARM system without MMU (MMUless) Tieu Ma Dau
@ 2006-08-25 12:24 ` Thorsten Zitterell
2006-08-25 15:08 ` Tieu Ma Dau
0 siblings, 1 reply; 5+ messages in thread
From: Thorsten Zitterell @ 2006-08-25 12:24 UTC (permalink / raw)
To: qemu-devel
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Run Qemu ARM system without MMU (MMUless)
2006-08-25 12:24 ` Thorsten Zitterell
@ 2006-08-25 15:08 ` Tieu Ma Dau
2006-08-25 15:20 ` Paul Brook
0 siblings, 1 reply; 5+ messages in thread
From: Tieu Ma Dau @ 2006-08-25 15:08 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 604 bytes --]
Thorsten Zitterell <the.real.hik@gmx.net> 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
[-- Attachment #2: Type: text/html, Size: 866 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Run Qemu ARM system without MMU (MMUless)
2006-08-25 15:08 ` Tieu Ma Dau
@ 2006-08-25 15:20 ` Paul Brook
0 siblings, 0 replies; 5+ messages in thread
From: Paul Brook @ 2006-08-25 15:20 UTC (permalink / raw)
To: qemu-devel
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-08-25 15:20 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-24 20:36 [Qemu-devel] qemu vnc.c Fabrice Bellard
2006-08-25 8:25 ` [Qemu-devel] Run Qemu ARM system without MMU (MMUless) Tieu Ma Dau
2006-08-25 12:24 ` Thorsten Zitterell
2006-08-25 15:08 ` Tieu Ma Dau
2006-08-25 15:20 ` Paul Brook
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).