Page MenuHomeFreeBSD

Add MULTIDELAY to allow multiple DELAY implementations
ClosedPublic

Authored by andrew on Mar 27 2016, 8:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 5, 10:55 PM
Unknown Object (File)
Feb 1 2024, 1:48 AM
Unknown Object (File)
Jan 18 2024, 11:05 AM
Unknown Object (File)
Jan 12 2024, 12:39 AM
Unknown Object (File)
Dec 31 2023, 7:30 AM
Unknown Object (File)
Nov 14 2023, 8:23 PM
Unknown Object (File)
Nov 14 2023, 3:38 AM
Unknown Object (File)
Nov 13 2023, 11:24 AM

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.