qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Support epoch of 1980 in RTC emulation for MIPS


From: M. Warner Losh
Subject: Re: [Qemu-devel] [PATCH] Support epoch of 1980 in RTC emulation for MIPS Magnum
Date: Fri, 16 Jan 2009 22:42:55 -0700 (MST)

In message: <address@hidden>
            Stuart Brady <address@hidden> writes:
: On Sun, Jan 11, 2009 at 10:47:33AM -0700, M. Warner Losh wrote:
: > In message: <address@hidden>
: >             Stuart Brady <address@hidden> writes:
: > : I've not modified the handling of the century byte, as I'm not entirely
: > : sure what's required.  With an epoch of 1980 and a year of 2009, you
: > : could argue that the century byte should hold either 0, 1, 19 or 20.
: > 
: > What does WinNT/mips expect?
: 
: I've been informed that WinNT 3.50/MIPS does not read the century byte,
: and I expect that other versions do the same, as an epoch of 1980 will
: won't break until 2080.

OpenBSD/arc and NetBSD/arc then would be the only other ones that
might care.  OpenBSD/arc is hard for me to check on, since it is so
old.

NetBSD/arc uses a common set of routines to read it, so it is a little
hard to trace through.  But my quick look shows that there's no
function to read the centry set, so the common code will never read
the centry byte.

Warner




reply via email to

[Prev in Thread] Current Thread [Next in Thread]