RTEMS | IMFS User allocator Plugin Code (!534)

Bhavya Shah (@bhavyaBeliever) gitlab at rtems.org
Wed Jul 2 13:10:13 UTC 2025




Bhavya  Shah commented on a discussion on testsuites/psxtests/psximfs03/init.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/534#note_125737

 > +void deallocator(
 > +  char *blk
 > +)
 > +{
 > +  blk = (char **)blk;
 > +  *blk = freelist;
 > +  freelist = (char *)blk;
 > +
 > +}
 > +
 > +void init_memory(void)
 > +{
 > +  char *start = memory;
 > +  char *last = memory + sizeof(memory);
 > +
 > +  while(start + CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK <= last){

Right I will change once the plugin code gets compiled

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250702/2acac9c7/attachment-0001.htm>


More information about the bugs mailing list