[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
External RAM filesystem
- Date: Tue, 20 Nov 2007 09:22:18 -0500
- From: Alan.P.Cudmore at nasa.gov (Alan Cudmore)
- Subject: External RAM filesystem
Hi Joel,
I should probably join in the conversation too, as a persistent RAM
disk will be important in our upcoming RTEMS applications.
I like this idea for the IMFS.
But a question: for our vxWorks based systems, we create a RAM disk
in an area of RAM that is preserved during OS restarts. We can then
verify/remount the disk after vxWorks restarts. Would this be a
possibility for the IMFS with a custom pool/malloc/free ?
Thanks,
Alan
On Nov 20, 2007, at 9:05 AM, Joel Sherrill wrote:
> I'm late in the discussion but I proposed a couple of years
> ago adding a configuration item for the IMFS. If you defined
> a structure with three callback functions, you could change
> where memory was allocated in the IMFS.
>
> + initialize pool (default NULL)
> + allocate memory (default malloc)
> + free memory (default free)
>
> Change the IMFS code to use the provided functions and
> it can easily be switched.
>
> --joel
>