RTEMS | powerpc/beatnik: Convert MOTLoad GEV variables into env variables (!1276)

Gedare Bloom (@gedare) gitlab at rtems.org
Wed Jun 17 16:26:20 UTC 2026




Gedare Bloom commented on a discussion on bsps/powerpc/include/bsp/motload-gev.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1276#note_152641

 > +
 > +#ifndef _POWERPC_MOTLOAD_GEV_h
 > +#define _POWERPC_MOTLOAD_GEV_h
 > +
 > +#include <stdbool.h>
 > +
 > +#include <rtems.h>
 > +
 > +#ifdef __cplusplus
 > +extern "C" {
 > +#endif /* __cplusplus */
 > +
 > +/*
 > + * Get a GEV variable
 > + */
 > +int motload_gev_get(uintptr_t nvram_base, const char* name, char* val,

yes, we prefer to prefix all global symbols to avoid namespace collisions with applications. historically this has not been enforced consistently in BSPs, but it is good practice IMO

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1276#note_152641
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/c482f7c4/attachment.htm>


More information about the bugs mailing list