From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:48504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMgdG-00048G-1i for qemu-devel@nongnu.org; Wed, 18 May 2011 09:17:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QMgdE-0007PY-74 for qemu-devel@nongnu.org; Wed, 18 May 2011 09:17:46 -0400 Received: from mail-ww0-f53.google.com ([74.125.82.53]:44187) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMgdE-0007PS-1F for qemu-devel@nongnu.org; Wed, 18 May 2011 09:17:44 -0400 Received: by wwj40 with SMTP id 40so1543743wwj.10 for ; Wed, 18 May 2011 06:17:43 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Julien Grall Date: Wed, 18 May 2011 15:17:03 +0200 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH 2/2][SPARC] Fix TA0_Shutdown feature List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel@nongnu.org, Fabien Chouteau On Tue, May 17, 2011 at 9:57 PM, Blue Swirl wrote: > On Tue, May 17, 2011 at 6:32 PM, Julien Grall wrote: >> Fix TA0_SHUTDOWN feature > > But what would be the bug? We try to add RTEMS's support on leon platform for QEMU. RTEMS uses software trap 0 for various syscall. The current implementation of TA0_SHUTDOWN breaks the RTEMS boot. > No, this would actually be just opposite to how QEMU works. > Performance comes from doing more work at translation time in order to > save time during executing the generated code. I agree, this solution slows down the execution, but I didn't find another solution to fix this bug. -- Grall Julien