Subject: Re: CVS commit: src/sys
To: Perry E. Metzger <perry@piermont.com>
From: Garrett D'Amore <garrett_damore@tadpole.com>
List: source-changes
Date: 09/02/2006 23:48:41
Perry E. Metzger wrote:
> Garrett D'Amore <garrett_damore@tadpole.com> writes:
>   
>>> x86 and amd64 should be really easy to fix up. From there we can ask
>>> portmasters to fix up the others pretty quickly.
>>>       
>> Heh.  i386 and amd64 at least doesn't have todr_attach anywhere.    I
>> have NFI how they do their real-time clocks.
>>     
>
> /usr/src/sys/arch/i386/isa/clock.c contains the i386
> inittodr/resettodr mixed in with lots of other stuff.
>
> The amd64 port has a copy of the same file (this is probably a bad
> thing) in its own amd/isa/clock.c -- doubtless we should abstract out
> the driver.
>
> Perry
>   

I converted i386.  It wasn't entirely straight-forward, but its done. 
If someone could make the same changes for amd64, that would be great. 
I can't even compile test this owing to the fact that somebody busted
cross compilation on Solaris. :-(

The amd64 changes should be mostly the same as the i386.

-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191