qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Aurelien Jarno <aurelien@aurel32.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [RESEND][PATCH] Support epoch of 1980 in RTC emulation for MIPS Magnum
Date: Sat, 24 Jan 2009 19:06:27 +0100	[thread overview]
Message-ID: <20090124180627.GC16336@volta.aurel32.net> (raw)
In-Reply-To: <20090118135141.GA17928@miranda.arrow>

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

      parent reply	other threads:[~2009-01-24 18:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-18 13:51 [Qemu-devel] [RESEND][PATCH] Support epoch of 1980 in RTC emulation for MIPS Magnum Stuart Brady
2009-01-18 17:33 ` M. Warner Losh
2009-01-24 18:06 ` Aurelien Jarno [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090124180627.GC16336@volta.aurel32.net \
    --to=aurelien@aurel32.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).