Common device driver classes?

Nate Lawson nate at root.org
Thu Dec 11 17:04:31 PST 2003


On Fri, 12 Dec 2003, Bruce M Simpson wrote:
> I'm tracking the outcome of this discussion so I know where to put things
> like cache geometry discovery. My original plan was to assume uniform
> cache and TLB geometry across all CPUs in the system. This may not be
> the case. In which case implementing it via ivars may be more appropriate
> if Nate chooses to go down this road -- but this leaves the problem of
> how to export these properties easily to the userland.
>
> This is to facilitate getting at these properties a bit easier and
> machine-independent (I note that the current NDIS and PowerPC efforts
> could probably use this stuff).

Those would definitely be properties of the CPU and could be exported via
sysctl.  My need is a little different in that I need to attach a child
driver to a cpu.

-Nate


More information about the freebsd-arch mailing list