Re: Fixes for acorn32 build after GCC4 upgrade
Ben Harris <[email protected]> Thu, 6 Jul 2006 00:34:15 +0100 (BST)
| Newsgroups | gmane.os.netbsd.ports.acorn32 |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 5 Jul 2006, Mike Pumford wrote: > > I'll take a look at the timecounter API and see what I can come up with. > > I think we may still need the delay loop for before the timecounters are > > initialised. > > > Looks like setting up the second IOMD timer as a 2MHz 16bit timecounter is > fairly straightforward. I'll give it a shot at the weekend. That will only work so long as timer 1 isn't being used to provide a properly randomised statclock, which it really should be made to do. It would be better to build something based on timer 0, using the interrupt-pending bit and the hardclock handler to emulate the high-order bits of the timecounter. -- Ben Harris <[email protected]> Portmaster, NetBSD/acorn26 <URL:http://www.NetBSD.org/Ports/acorn26/>