Gedare Bloom started a new discussion on cpukit/include/rtems/imfs.h: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/534#note_129513

 > + * @param allocate The function which will be used to allocate IMFS blocks.
 > + * @param deallocate The function to deallocate the allocated data blocks.
 > + * @param get_free_space The function used by kernel to get the free space.
 > + */
 > +struct IMFS_memfile_ops_t {
 > +  IMFS_memfile_allocator allocate_block;
 > +  IMFS_memfile_deallocator free_block;
 > +  IMFS_memfile_free_space get_free_space;
 > +};
 > +
 > +/**
 > + * @brief The default allocator
 > + *
 > + * @details The allocator uses the memory from the heap.
 > + */
 > +void *IMFS_default_allocator(void);

Should these default functions also be named like `IMFS_default_allocate_block`?

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/534#note_129513
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to