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:42 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_138020
> while ( first + 1 <= (block *)last ) {
> - first->next = freelist;
> - freelist = first;
> + first->next = g_freelist;
> + g_freelist = first;
> first += 1;
> }
> - alloc_blocks_count = 0;
> + g_alloc_blocks_count = 0;
> }
>
> -void *empty_space()
> -{
> - block *memory = freelist;
> - freelist = NULL;
> +void *empty_space(void) {
done
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/891#note_138020
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/ec2ba020/attachment.htm>
More information about the bugs
mailing list