RTEMS | tests/psximfs03: reduce MEMORY_SIZE to 8k, add prefix g_ to globals (!891)
Prashant Rahul (@prashantrahul141)
gitlab at rtems.org
Mon Jan 5 01:39:28 UTC 2026
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260105/f0b5f753/attachment-0001.htm>
More information about the bugs
mailing list