Subject: Re: firmload(9) kernel memory use (was Re: Signedness/Size consistency ?)
To: None <tech-kern@NetBSD.org>
From: Arnaud Lacombe <lacombar@gmail.com>
List: tech-kern
Date: 07/16/2007 23:47:24
On Mon, Jul 16, 2007 at 10:13:22AM -0500, David Young wrote:
> It is not really necessary for firmload(9) to use enough kernel memory
> to fit the entire firmware, is it? I have not seen a firmware that you
> could not load 1kB or fewer bytes at a time.
>
my mistake, I didn't pay attention to the offset argument :/
However, most use of code which use firmload(9) just cache the whole
firmware image in memory, use it, and free it.
- Arnaud