dreamcast todr(9) conversion patches to test

"Valeriy E. Ushakov" <[email protected]> Mon, 4 Sep 2006 03:22:10 +0400
Newsgroups gmane.os.netbsd.ports.sh3,gmane.os.netbsd.ports.dreamcast
Message-ID <[email protected]>
Folks, please can someone test the diff that converts dreamcast to the
MI todr(9) framework.

http://snark.ptc.spbu.ru/~uwe/netbsd/sh3/dc-todr.diff
http://snark.ptc.spbu.ru/~uwe/netbsd/sh3/g2rtc.c

Precompiled kernel is available as well:
http://snark.ptc.spbu.ru/~uwe/netbsd/sh3/netbsd-dc.bz2

g2rtc.c - is a new file: arch/dreamcast/dev/g2/g2rtc.c

. a better name?  g2todr?

. is the 20 year offset really into the past?  if my arithmetic is
  still not that rusty current code seems to imply that 0 value in the
  registers is 1950-01-01


PS: This is a first step in sh3 conversion to MI todr(9).  I want to
do dreamcast first as it's 1) different from all other sh3 ports, 2)
other sh3 ports use RTC clock to drive TMU, so I'm still thinking of a
clean way to convert them.

Thanks.

SY, Uwe
-- 
[email protected]                         |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen