Fwd: [Milkymist-devel] [PATCH] imfs: give a default value to st_blksize
ralf.corsepius at rtems.org
Sat Jun 4 04:33:10 UTC 2011
On 06/03/2011 08:28 PM, Joel Sherrill wrote:
> The IMFS has no devices. There is no mistake in my response.
Correct, it's an exceptional case of a device, where blocksizes reduce
My point is: I feel RTEMS lacks a device-call/device-method to retrieve
a device's blocksize.
> It gets memory directly via malloc and uses memcpy to read and write. The block size of the IMFS is strictly up to the user within some power of 2 restrictions.
Yet more fuel for my argument above: It's a user-setable item. RTEMS
needs a device-call to retrieve it.
More information about the users