Re: [PATCH] rtems: Use RTEMS_WHO_AM_I for rtems_task_ident()

2021-11-18 Thread Sebastian Huber
On 18/11/2021 19:42, Joel Sherrill wrote: Plus the minor patch to the documentation. The header file and the directive documentation is generated from the same specification item. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedde

Re: [PATCH] rtems: Use RTEMS_WHO_AM_I for rtems_task_ident()

2021-11-18 Thread Joel Sherrill
s_status_code rtems_task_construct( > * This directive obtains a task identifier associated with the task name > * specified in ``name``. > * > - * A task may obtain its own identifier by specifying #RTEMS_SELF for the > name. > + * A task may obtain its own identifier

[PATCH] rtems: Use RTEMS_WHO_AM_I for rtems_task_ident()

2021-11-18 Thread Sebastian Huber
@@ rtems_status_code rtems_task_construct( * This directive obtains a task identifier associated with the task name * specified in ``name``. * - * A task may obtain its own identifier by specifying #RTEMS_SELF for the name. + * A task may obtain its own identifier by specifying #RTEMS_WHO_AM_I for the

Re: RTEMS_WHO_AM_I

2021-11-17 Thread Sebastian Huber
On 17/11/2021 18:10, Joel Sherrill wrote: I'm prone to change rtems_task_ident() to use RTEMS_WHO_AM_I since that is more proper. Yes, this sounds good. I will fix this. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brai

Re: RTEMS_WHO_AM_I

2021-11-17 Thread Joel Sherrill
On Wed, Nov 17, 2021 at 10:42 AM Sebastian Huber wrote: > > Hello, > > for what is RTEMS_WHO_AM_I used? > > grep -r RTEMS_WHO_AM_I . > ./cpukit/include/rtems/rtems/object.h:#define RTEMS_WHO_AM_I > OBJECTS_WHO_AM_I > > grep -r OBJECTS_WHO_AM_I . > ./cpukit/inc

RTEMS_WHO_AM_I

2021-11-17 Thread Sebastian Huber
Hello, for what is RTEMS_WHO_AM_I used? grep -r RTEMS_WHO_AM_I . ./cpukit/include/rtems/rtems/object.h:#define RTEMS_WHO_AM_I OBJECTS_WHO_AM_I grep -r OBJECTS_WHO_AM_I . ./cpukit/include/rtems/score/object.h:#define OBJECTS_WHO_AM_I 0 ./cpukit/include/rtems/rtems/object.h:#define