[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: [Milkymist-devel] [PATCH] imfs: give a default value to st_blksize



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 
to constants.

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.

Ralf