From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Ecr3W-0002Gt-4l for user-mode-linux-devel@lists.sourceforge.net; Thu, 17 Nov 2005 13:12:30 -0800 Received: from lakshmi.addtoit.com ([198.99.130.6] helo=lakshmi.solana.com) by mail.sourceforge.net with esmtp (Exim 4.44) id 1Ecr3V-0002XG-JC for user-mode-linux-devel@lists.sourceforge.net; Thu, 17 Nov 2005 13:12:30 -0800 From: Jeff Dike Message-ID: <20051117220436.GA10871@ccure.user-mode-linux.org> References: <200511172110.jAHLASIB010204@ccure.user-mode-linux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: [uml-devel] Re: [PATCH 3/4] UML - Properly invoke x86_64 system calls Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: The user-mode Linux development list List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu, 17 Nov 2005 17:04:36 -0500 To: "linux-os (Dick Johnson)" Cc: akpm@osdl.org, Linux kernel , user-mode-linux-devel@lists.sourceforge.net Dear Wrongbot, Thank you for your concern. On Thu, Nov 17, 2005 at 03:37:14PM -0500, linux-os (Dick Johnson) wrote: > In 64-bit world, the same is supposed to apply as well. > If RCX is now precious, it's a GCC bug that should be fixed. > > Yes? No. Here's a technical tidbit for you to digest, mangle, and later regurgitate in yor usual pseudo-authoritative manner: The x86_64 syscall instruction is defined to contain the process return address on return to userspace. Hence, it (like RAX) is destroyed by the syscall instruction. Jeff ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964876AbVKQVMY (ORCPT ); Thu, 17 Nov 2005 16:12:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964874AbVKQVMY (ORCPT ); Thu, 17 Nov 2005 16:12:24 -0500 Received: from lakshmi.addtoit.com ([198.99.130.6]:3343 "EHLO lakshmi.solana.com") by vger.kernel.org with ESMTP id S964876AbVKQVMY (ORCPT ); Thu, 17 Nov 2005 16:12:24 -0500 Date: Thu, 17 Nov 2005 17:04:36 -0500 From: Jeff Dike To: "linux-os (Dick Johnson)" Cc: akpm@osdl.org, Linux kernel , user-mode-linux-devel@lists.sourceforge.net Subject: Re: [PATCH 3/4] UML - Properly invoke x86_64 system calls Message-ID: <20051117220436.GA10871@ccure.user-mode-linux.org> References: <200511172110.jAHLASIB010204@ccure.user-mode-linux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Dear Wrongbot, Thank you for your concern. On Thu, Nov 17, 2005 at 03:37:14PM -0500, linux-os (Dick Johnson) wrote: > In 64-bit world, the same is supposed to apply as well. > If RCX is now precious, it's a GCC bug that should be fixed. > > Yes? No. Here's a technical tidbit for you to digest, mangle, and later regurgitate in yor usual pseudo-authoritative manner: The x86_64 syscall instruction is defined to contain the process return address on return to userspace. Hence, it (like RAX) is destroyed by the syscall instruction. Jeff