Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FvViW-0000WY-9X for qemu-devel@nongnu.org; Wed, 28 Jun 2006 04:48:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FvViT-0000Vl-VK for qemu-devel@nongnu.org; Wed, 28 Jun 2006 04:48:11 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FvViT-0000VX-NO for qemu-devel@nongnu.org; Wed, 28 Jun 2006 04:48:09 -0400 Received: from [209.191.124.137] (helo=web38110.mail.mud.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.52) id 1FvVul-0000Fv-B8 for qemu-devel@nongnu.org; Wed, 28 Jun 2006 05:00:51 -0400 Message-ID: <20060628084808.15238.qmail@web38110.mail.mud.yahoo.com> Date: Wed, 28 Jun 2006 01:48:08 -0700 (PDT) From: Tieu Ma Dau In-Reply-To: <200606280630.52237.paul@codesourcery.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1154824472-1151484488=:14944" Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] Qemu developement documentation? Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --0-1154824472-1151484488=:14944 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi all, I'm developping Qemu to simulate ARM processor and I also read the file qemu-tech.html in Qemu source code. But I don't understand very well the idea that Qemu simulates a (exp: x86) instruction. [quote] The basic idea is to split every x86 instruction into fewer simpler instructions. Each simple instruction is implemented by a piece of C code (see `target-i386/op.c'). Then a compile time tool (`dyngen') takes the corresponding object file (`op.o') to generate a dynamic code generator which concatenates the simple instructions to build a function (see `op.h:dyngen_code()') [/quote] (I don't understand the explanation in bold) + What does the explanation in bold mean? Or do you have any document which clarifies this? + Do you have any document which explains how Qemu works (idea for the working of Qemu)? + Does Qemu works (i.e get the instruction from the target OS, splits the instruction into simpler instructions, executes the instructions on host OS...) same as the other simulators? Best regards Tieu --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs.Try it free. --0-1154824472-1151484488=:14944 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi all,
I'm developping Qemu to simulate ARM processor and I also read the file qemu-tech.html in Qemu source code. But I don't understand very well the idea that Qemu simulates a (exp: x86) instruction.
[quote]
The basic idea is to split every x86 instruction into fewer simpler instructions. Each simple instruction is implemented by a piece of C code (see `target-i386/op.c'). Then a compile time tool (`dyngen') takes the corresponding object file (`op.o') to generate a dynamic code generator which concatenates the simple instructions to build a function (see `op.h:dyngen_code()')
[/quote]
(I don't understand the explanation in bold)
+ What does the explanation in bold mean? Or do you have any document which clarifies this?
+ Do you have any document which explains how Qemu works (idea for the working of Qemu)?
+ Does Qemu works (i.e get the instruction from the target OS, splits the instruction into simpler instructions, executes the instructions on host OS...) same as the other simulators?
Best regards
Tieu


Yahoo! Music Unlimited - Access over 1 million songs. Try it free. --0-1154824472-1151484488=:14944--