diff options
-rw-r--r-- | c_user/configuring_a_system.rst | 8 | ||||
-rw-r--r-- | c_user/dual_ports_memory_manager.rst | 2 | ||||
-rw-r--r-- | c_user/linker_sets.rst | 6 | ||||
-rw-r--r-- | c_user/semaphore_manager.rst | 2 | ||||
-rw-r--r-- | c_user/timer_manager.rst | 1 |
5 files changed, 9 insertions, 10 deletions
diff --git a/c_user/configuring_a_system.rst b/c_user/configuring_a_system.rst index b0e2596..fe402d2 100644 --- a/c_user/configuring_a_system.rst +++ b/c_user/configuring_a_system.rst @@ -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, \ diff --git a/c_user/dual_ports_memory_manager.rst b/c_user/dual_ports_memory_manager.rst index 68081fc..865e5ff 100644 --- a/c_user/dual_ports_memory_manager.rst +++ b/c_user/dual_ports_memory_manager.rst @@ -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:** diff --git a/c_user/linker_sets.rst b/c_user/linker_sets.rst index 51dfd78..a0eb4fd 100644 --- a/c_user/linker_sets.rst +++ b/c_user/linker_sets.rst @@ -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 }; diff --git a/c_user/semaphore_manager.rst b/c_user/semaphore_manager.rst index df04af7..86a9a29 100644 --- a/c_user/semaphore_manager.rst +++ b/c_user/semaphore_manager.rst @@ -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 diff --git a/c_user/timer_manager.rst b/c_user/timer_manager.rst index f4cf5a3..71ca63e 100644 --- a/c_user/timer_manager.rst +++ b/c_user/timer_manager.rst @@ -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:** |