Kinsey Moore started a new discussion on cpukit/include/rtems/age_verify.h: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1137#note_145715

 > +
 > +#include <rtems.h>
 > +
 > +#ifdef __cplusplus
 > +extern "C" {
 > +#endif
 > +
 > +// These age brackets are arbitrary and can be changed as needed to comply 
 > with the law of different regions.
 > +// Ultimately, I think that we could even just have a single "over 18" 
 > bracket, but this allows for a little more
 > +// granularity if desired. Changes to the rtems_age_set_bracket logic in 
 > age_verify.c would be needed if this occurs.
 > +typedef enum {
 > +  AGE_UNDER_13 = 0,
 > +  AGE_13_TO_18 = 1,
 > +  AGE_18_TO_24 = 2,
 > +  AGE_OVER_24  = 3
 > +} rtems_age_bracket;

These categories are going to be in flux for a long time as everything gets 
hammered out. Either we need to try to keep up with the various required 
brackets and implement the bare minimum that will work for us everywhere or we 
need to provide an API to let the application developer define their own 
brackets for their particular use case.

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