Prashant Rahul commented on a discussion on 
testsuites/psxtests/psximfs03/init.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/891#note_138019

 >      return;
 >    }
 >  
 >    memset(blk, 0, BLOCK_SIZE);
 > -  blk->next = freelist;
 > -  freelist = blk;
 > -  alloc_blocks_count --;
 > +  blk->next = g_freelist;
 > +  g_freelist = blk;
 > +  g_alloc_blocks_count--;
 >  }
 >  
 > -size_t free_space(void)
 > -{
 > -  return MEMORY_SIZE - alloc_blocks_count * BLOCK_SIZE;
 > +size_t free_space(void) {

done

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/891#note_138019
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