Subject: dreamcast todr(9) conversion patches to test
To: None <port-dreamcast@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: port-dreamcast
Date: 09/04/2006 03:22:10
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
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen