Subject: Re: delay patch
To: None <chris@paradox.demon.co.uk>
From: Ben Harris <bjh21@netbsd.org>
List: port-arm
Date: 04/20/2001 14:56:10
In article <01042010362000.00321@pinky.paradox.demon.co.uk> you write:
>I've made the patch to improve the delay handling more generic.  What I've 
>done is move the delay routine (and related check and calibration routines) 
>into arch/arm/mainbus/cpu.c.  I've then removed all the delay routines from 
>the different clock files. (iomd, footbridge, ofw and isa) to use the common 
>delay routine that calls microtime.
>
>However not having all the bits of hardware to check this works I'd be 
>grateful if people can check that the code still works as expected on all 
>platforms.

You'll need some way to exclude it since (e.g.) hpcarm has its own
implementation of delay().  Either that or rip out the hpcarm implementation
as well.

Incidentally, since this affects shared ARM code, you should probably be
discussing this in port-arm (CCed), not port-arm32.

-- 
Ben Harris                                                   <bjh21@netbsd.org>
Portmaster, NetBSD/arm26               <URL:http://www.netbsd.org/Ports/arm26/>