From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Cabhj-0000Qe-2V for qemu-devel@nongnu.org; Sat, 04 Dec 2004 10:20:11 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Cabhi-0000QS-MW for qemu-devel@nongnu.org; Sat, 04 Dec 2004 10:20:10 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cabhi-0000QP-JV for qemu-devel@nongnu.org; Sat, 04 Dec 2004 10:20:10 -0500 Received: from [65.74.133.9] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CabXL-0006v8-6Y for qemu-devel@nongnu.org; Sat, 04 Dec 2004 10:09:27 -0500 From: Paul Brook Subject: Re: [Qemu-devel] Syscall 269 Date: Sat, 4 Dec 2004 15:09:19 +0000 References: <200411180138.46857.james@alentdesignsolutions.com> <200411181303.47086.paul@codesourcery.com> <200412031605.10444.james@alentdesignsolutions.com> In-Reply-To: <200412031605.10444.james@alentdesignsolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200412041509.19222.paul@codesourcery.com> 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, james@alentdesignsolutions.com On Saturday 04 December 2004 00:05, James Pellow wrote: > Hi Paul, > > Is this closer to what you want? I saw the swap functions. I wasn't sure > what long translated to for all supported archs. Do I need to do 32/64 bit > translation? tv_sec and tv_usec are both long. There is already code to properly handle struct timeval, you should use that. See the code for TARGET_NR_settimeofday. Paul