From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K3csb-0005CT-6j for qemu-devel@nongnu.org; Tue, 03 Jun 2008 16:13:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K3csZ-0005BT-F4 for qemu-devel@nongnu.org; Tue, 03 Jun 2008 16:13:12 -0400 Received: from [199.232.76.173] (port=48583 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3csZ-0005BO-9H for qemu-devel@nongnu.org; Tue, 03 Jun 2008 16:13:11 -0400 Received: from aa011msr.fastwebnet.it ([85.18.95.71]:52351) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K3csZ-00041L-9Z for qemu-devel@nongnu.org; Tue, 03 Jun 2008 16:13:11 -0400 Received: from [1.115.13.66] (1.115.13.66) by aa011msr.fastwebnet.it (8.0.013.5) id 483216FE01D19758 for qemu-devel@nongnu.org; Tue, 3 Jun 2008 22:13:09 +0200 Message-ID: <4845A5A3.70205@slacky.it> Date: Tue, 03 Jun 2008 22:12:19 +0200 From: Antonio Ricci MIME-Version: 1.0 Subject: Re: [Qemu-devel] how to get registers value in event of systemcall References: <483AF801.2020806@slacky.it> <200805271435.30937.paul@codesourcery.com> <48458448.5010908@slacky.it> <761ea48b0806031242m116cffc9y8d4e3f2caeef6c3e@mail.gmail.com> In-Reply-To: <761ea48b0806031242m116cffc9y8d4e3f2caeef6c3e@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Thanks Laurent, it is the answer I need. Regards -- Antonio My Mobile Phone: +393286739562 My Public Key: http://tonyr.altervista.org/chiave_pubblica MSN: ricciantonio@hotmail.it Skype: tonyr81fg Linux Member #374272 ********************************************************************* What is the difference between Jurassic Park and Microsoft? One is an over-rated high tech theme park based on prehistoric information and populated mostly by dinosaurs, the other is a Steven Spielberg movie. ********************************************************************* There are only 10 types of people in this world: those who understand binary, and those who don't. ********************************************************************* Laurent Desnogues wrote: > On Tue, Jun 3, 2008 at 7:50 PM, Antonio Ricci wrote: >> Hi Paul, >> thanks for your answer. >> I've tried to have registers value from do interrupt and it seems to >> work. I've some questions for you: >> 1) Where these values are initialized? I can't find it. > > If you look in cpu_exec.c/cpu_exec() you will see a call to env_to_regs > before the loop that contains the do_interrupt call. Does that answer > your question? > > > Laurent > > > >