Page MenuHomeFreeBSD

Add MULTIDELAY to allow multiple DELAY implementations
ClosedPublic

Authored by andrew on Mar 27 2016, 8:35 PM.
Tags
None
Referenced Files
F168301981: D5762.id14658.diff
Thu, Aug 27, 12:52 PM
Unknown Object (File)
Tue, Aug 25, 11:33 AM
Unknown Object (File)
Tue, Aug 25, 11:08 AM
Unknown Object (File)
Sun, Aug 23, 7:41 AM
Unknown Object (File)
Sat, Aug 15, 9:32 AM
Unknown Object (File)
Sat, Aug 15, 9:32 AM
Unknown Object (File)
Wed, Aug 12, 3:59 PM
Unknown Object (File)
Mon, Aug 10, 6:19 PM

Details

Summary

This allows us to have multiple drivers supply a function for DELAY to
use. The platform code supplies an early version to be used before
devices have been enumerated. This used a delay value passed in from
the PLATFORM spec to decide how many times to loop for.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

andrew retitled this revision from to Add MULTIDELAY to allow multiple DELAY implementations.
andrew updated this object.
andrew edited the test plan for this revision. (Show Details)
andrew added a reviewer: ARM.
sys/arm/allwinner/allwinner_machdep.c
151 ↗(On Diff #14658)

200 is a guess based on the gneric timer code. Someone should calibrate it.

Patch tested on A10, kernel compile and boots fine. Will test A20 later.
So now, how should I calibrate the value ?

This revision was automatically updated to reflect the committed changes.