RTEMS | powerpc/beatnik: Convert MOTLoad GEV variables into env variables (!1276)
Gedare Bloom (@gedare)
gitlab at rtems.org
Wed Jun 17 15:57:35 UTC 2026
Gedare Bloom started a new discussion on bsps/powerpc/shared/start/motload-gev.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1276#note_152635
> + size_t v = 0;
> + memset(var, 0, var_len);
> + while (g < gev_len) {
> + switch (state) {
> + case 's':
> + /* Search for the start of the name */
> + if (gev[g] == '\0') {
> + return -1;
> + }
> + if (gev[g] != name[0]) {
> + ++g;
> + break;
> + }
> + state = 'n';
> + n = 0;
> + /* fallthru */
we have `RTEMS_FALL_THROUGH()`
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1276#note_152635
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/20260617/0851f82e/attachment-0001.htm>
More information about the bugs
mailing list