From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQmtr-0007bw-3x for qemu-devel@nongnu.org; Sat, 24 Jan 2009 13:06:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQmtq-0007ba-Kd for qemu-devel@nongnu.org; Sat, 24 Jan 2009 13:06:30 -0500 Received: from [199.232.76.173] (port=49210 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQmtq-0007bQ-C0 for qemu-devel@nongnu.org; Sat, 24 Jan 2009 13:06:30 -0500 Received: from hall.aurel32.net ([88.191.82.174]:33272) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LQmtp-0008Um-Tk for qemu-devel@nongnu.org; Sat, 24 Jan 2009 13:06:30 -0500 Received: from volta.aurel32.net ([2002:52e8:2fb:1:21e:8cff:feb0:693b]) by hall.aurel32.net with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1LQmto-0007xE-8X for qemu-devel@nongnu.org; Sat, 24 Jan 2009 19:06:28 +0100 Received: from aurel32 by volta.aurel32.net with local (Exim 4.69) (envelope-from ) id 1LQmtn-0003Nl-K0 for qemu-devel@nongnu.org; Sat, 24 Jan 2009 19:06:27 +0100 Date: Sat, 24 Jan 2009 19:06:27 +0100 From: Aurelien Jarno Subject: Re: [Qemu-devel] [RESEND][PATCH] Support epoch of 1980 in RTC emulation for MIPS Magnum Message-ID: <20090124180627.GC16336@volta.aurel32.net> References: <20090118135141.GA17928@miranda.arrow> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20090118135141.GA17928@miranda.arrow> 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 On Sun, Jan 18, 2009 at 01:51:41PM +0000, Stuart Brady wrote: > On the MIPS Magnum, the time that is held in the RTC's NVRAM should be > relative to midnight on 1980-01-01. This patch adds an extra parameter > to rtc_init(), allowing different epochs to be used. For the Magnum, > 1980 is specified, and for all other machines, 2000 is specified. > > I've not modified the handling of the century byte, as with an epoch of > 1980 and a year of 2009, one could argue that it should hold either > 0, 1, 19 or 20. NT 3.50 on MIPS does not read the century byte. Thanks, applied. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net