From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IpptW-00027P-QT for qemu-devel@nongnu.org; Wed, 07 Nov 2007 13:44:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IpptV-00025N-96 for qemu-devel@nongnu.org; Wed, 07 Nov 2007 13:44:54 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IpptV-00025B-33 for qemu-devel@nongnu.org; Wed, 07 Nov 2007 13:44:53 -0500 Received: from moutng.kundenserver.de ([212.227.126.188]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IpptU-0001qm-4k for qemu-devel@nongnu.org; Wed, 07 Nov 2007 13:44:52 -0500 Message-ID: <4732079F.8000104@mail.berlios.de> Date: Wed, 07 Nov 2007 19:44:47 +0100 From: Stefan Weil MIME-Version: 1.0 Subject: Re: [Qemu-devel] qemu qemu-doc.texi vl.c vl.h hw/mc146818rtc.c References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15 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 Hi, the change from mc146818rtc.c might be needed for other timer implementations, too (because not all systems emulated by QEMU use mc146818rtc.c). A list of candidates is here (fgrep gmtime, fgrep gettime): hw/m48t59.c: gmtime_r (&t, tm); hw/omap.c: s->convert = rtc_utc ? gmtime_r : localtime_r; hw/pl031.c: tm = gmtime(&ti); hw/pxa2xx.c: tm = gmtime(&ti); hw/etraxfs_timer.c: gettimeofday(&now, NULL); hw/omap.c needs additional changes for Windows, because gmtime_r is missing there. Maybe all those locations should use a central function (to be written). Stefan Fabrice Bellard schrieb: > CVSROOT: /sources/qemu > Module name: qemu > Changes by: Fabrice Bellard 07/11/07 16:24:34 > > Modified files: > . : qemu-doc.texi vl.c vl.h > hw : mc146818rtc.c > > Log message: > added -startdate option > > CVSWeb URLs: > http://cvs.savannah.gnu.org/viewcvs/qemu/qemu-doc.texi?cvsroot=qemu&r1=1.163&r2=1.164 > http://cvs.savannah.gnu.org/viewcvs/qemu/vl.c?cvsroot=qemu&r1=1.353&r2=1.354 > http://cvs.savannah.gnu.org/viewcvs/qemu/vl.h?cvsroot=qemu&r1=1.287&r2=1.288 > http://cvs.savannah.gnu.org/viewcvs/qemu/hw/mc146818rtc.c?cvsroot=qemu&r1=1.12&r2=1.13 > > >