Minor fixes.

This commit is contained in:
Chris Johns 2016-02-18 16:22:28 +11:00 committed by Amar Takhar
parent f29b7faf6d
commit bcd64c620a
5 changed files with 9 additions and 10 deletions

View File

@ -181,7 +181,7 @@ Format to be followed for making changes in this file
- If the data type is an integer, then it can have numbers, characters (in
case the value is defined using another macro) and arithmetic operations
(+, -, \*, /).
(+, -, *, /).
- If the data type is a function pointer the first character should be an
alphabet or an underscore. The rest of the string can be alphanumeric.
@ -1500,7 +1500,7 @@ Specifying POSIX API Initialization Thread Entry Point
``CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT``
*DATA TYPE:*
POSIX thread function pointer (``void \*(*entry_point)(void \*)``).
POSIX thread function pointer (``void *(*entry_point)(void *)``).
*RANGE:*
Undefined or a valid POSIX thread function pointer.
@ -4017,10 +4017,10 @@ will ensure that the two systems cannot interfere in an undesirable way.
/* Make the scheduler algorithm available */
#define CONFIGURE_SCHEDULER_PRIORITY_SMP
#include <rtems/scheduler.h>
/* Create contexts for the two scheduler instances \*/
/* Create contexts for the two scheduler instances */
RTEMS_SCHEDULER_CONTEXT_PRIORITY_SMP(io, CONFIGURE_MAXIMUM_PRIORITY + 1);
RTEMS_SCHEDULER_CONTEXT_PRIORITY_SMP(work, CONFIGURE_MAXIMUM_PRIORITY + 1);
/* Define the scheduler table \*/
/* Define the scheduler table */
#define CONFIGURE_SCHEDULER_CONTROLS \\
RTEMS_SCHEDULER_CONTROL_PRIORITY_SMP( \
io, \

View File

@ -161,7 +161,7 @@ PORT_IDENT - Get ID of a port
rtems_status_code rtems_port_ident(
rtems_name name,
rtems_id \*id
rtems_id *id
);
**DIRECTIVE STATUS CODES:**

View File

@ -78,11 +78,11 @@ section descriptions.
/* To be placed in a read-only memory region */
.rtemsroset : {
KEEP (\*(SORT(.rtemsroset.*)))
KEEP (*(SORT(.rtemsroset.*)))
}
/* To be placed in a read-write memory region */
.rtemsrwset : {
KEEP (\*(SORT(.rtemsrwset.*)))
KEEP (*(SORT(.rtemsrwset.*)))
}
The ``KEEP()`` ensures that a garbage collection by the linker will not discard
@ -509,7 +509,7 @@ enum in ``XYZ_ITEM()``).
#define XYZ_ITEM( item, order ) \
enum { xyz_##item = order - order }; \
RTEMS_LINKER_RWSET_ITEM_ORDERED( \
xyz, const xyz_item \*, item, order \
xyz, const xyz_item *, item, order \
) = { &item }
/* Example item */
static const xyz_item some_item = { 123 };

View File

@ -675,7 +675,7 @@ The following semaphore acquisition option constants are defined by RTEMS:
* - ``RTEMS_WAIT``
- task will wait for semaphore (default)
* - - ``RTEMS_NO_WAIT``
* - ``RTEMS_NO_WAIT``
- task should not wait
Attempting to obtain a global semaphore which does not reside on the local node

View File

@ -452,7 +452,6 @@ TIMER_INITIATE_SERVER - Initiate server for task-based timers
uint32_t priority,
uint32_t stack_size,
rtems_attribute attribute_set
)
);
**DIRECTIVE STATUS CODES:**