Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 2003 17:04:31 -0800 (PST)
From:      Nate Lawson <nate@root.org>
To:        Bruce M Simpson <bms@spc.org>
Cc:        "M. Warner Losh" <imp@bsdimp.com>
Subject:   Re: Common device driver classes?
Message-ID:  <20031211170335.X51376@root.org>
In-Reply-To: <20031212002902.GB83410@saboteur.dek.spc.org>
References:  <XFMail.20031211164407.jhb@FreeBSD.org> <20031211145311.Q51054@root.org> <20031212002902.GB83410@saboteur.dek.spc.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031211170335.X51376>