Changeset 1a8fde6c in rtems for cpukit/rtems/inline
- Timestamp:
- Mar 6, 1996, 9:34:57 PM (25 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- e642446
- Parents:
- 8e76546
- Location:
- cpukit/rtems/inline/rtems/rtems
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/rtems/inline/rtems/rtems/asr.inl
r8e76546 r1a8fde6c 24 24 * _ASR_Initialize 25 25 * 26 * DESCRIPTION: 27 * 28 * This routine initializes the given RTEMS_ASR information record. 26 29 */ 27 30 … … 42 45 * _ASR_Swap_signals 43 46 * 47 * DESCRIPTION: 48 * 49 * This routine atomically swaps the pending and posted signal 50 * sets. This is done when the thread alters its mode in such a 51 * way that the RTEMS_ASR disable/enable flag changes. 44 52 */ 45 53 … … 62 70 * _ASR_Is_null_handler 63 71 * 72 * DESCRIPTION: 73 * 74 * This function returns TRUE if the given asr_handler is NULL and 75 * FALSE otherwise. 64 76 */ 65 77 … … 75 87 * _ASR_Are_signals_pending 76 88 * 89 * DESCRIPTION: 90 * 91 * This function returns TRUE if there are signals pending in the 92 * given RTEMS_ASR information record and FALSE otherwise. 77 93 */ 78 94 … … 88 104 * _ASR_Post_signals 89 105 * 106 * DESCRIPTION: 107 * 108 * This routine posts the given signals into the signal_set 109 * passed in. The result is returned to the user in signal_set. 110 * 111 * NOTE: This must be implemented as a macro. 90 112 */ 91 113 -
cpukit/rtems/inline/rtems/rtems/attr.inl
r8e76546 r1a8fde6c 21 21 * 22 22 * _Attributes_Set 23 * 24 * DESCRIPTION: 25 * 26 * This function sets the requested new_attributes in the attribute_set 27 * passed in. The result is returned to the user. 23 28 */ 24 29 … … 34 39 * 35 40 * _Attributes_Clear 41 * 42 * DESCRIPTION: 43 * 44 * This function clears the requested new_attributes in the attribute_set 45 * passed in. The result is returned to the user. 36 46 */ 37 47 … … 48 58 * _Attributes_Is_floating_point 49 59 * 60 * DESCRIPTION: 61 * 62 * This function returns TRUE if the floating point attribute is 63 * enabled in the attribute_set and FALSE otherwise. 50 64 */ 51 65 … … 61 75 * _Attributes_Is_global 62 76 * 77 * DESCRIPTION: 78 * 79 * This function returns TRUE if the global object attribute is 80 * enabled in the attribute_set and FALSE otherwise. 63 81 */ 64 82 … … 74 92 * _Attributes_Is_priority 75 93 * 94 * DESCRIPTION: 95 * 96 * This function returns TRUE if the priority attribute is 97 * enabled in the attribute_set and FALSE otherwise. 76 98 */ 77 99 … … 87 109 * _Attributes_Is_binary_semaphore 88 110 * 111 * DESCRIPTION: 112 * 113 * This function returns TRUE if the binary semaphore attribute is 114 * enabled in the attribute_set and FALSE otherwise. 89 115 */ 90 116 … … 100 126 * _Attributes_Is_inherit_priority 101 127 * 128 * DESCRIPTION: 129 * 130 * This function returns TRUE if the priority inheritance attribute 131 * is enabled in the attribute_set and FALSE otherwise. 102 132 */ 103 133 … … 113 143 * _Attributes_Is_priority_ceiling 114 144 * 145 * DESCRIPTION: 146 * 147 * This function returns TRUE if the priority ceiling attribute 148 * is enabled in the attribute_set and FALSE otherwise. 115 149 */ 116 150 -
cpukit/rtems/inline/rtems/rtems/dpmem.inl
r8e76546 r1a8fde6c 23 23 * _Dual_ported_memory_Allocate 24 24 * 25 * DESCRIPTION: 26 * 27 * This routine allocates a port control block from the inactive chain 28 * of free port control blocks. 25 29 */ 26 30 … … 36 40 * _Dual_ported_memory_Free 37 41 * 42 * DESCRIPTION: 43 * 44 * This routine frees a port control block to the inactive chain 45 * of free port control blocks. 38 46 */ 39 47 … … 49 57 * _Dual_ported_memory_Get 50 58 * 59 * DESCRIPTION: 60 * 61 * This function maps port IDs to port control blocks. If ID 62 * corresponds to a local port, then it returns the_port control 63 * pointer which maps to ID and location is set to OBJECTS_LOCAL. 64 * Global ports are not supported, thus if ID does not map to a 65 * local port, location is set to OBJECTS_ERROR and the_port is 66 * undefined. 51 67 */ 52 68 … … 63 79 * 64 80 * _Dual_ported_memory_Is_null 81 * 82 * DESCRIPTION: 83 * 84 * This function returns TRUE if the_port is NULL and FALSE otherwise. 65 85 */ 66 86 -
cpukit/rtems/inline/rtems/rtems/event.inl
r8e76546 r1a8fde6c 20 20 /* 21 21 * Event_Manager_initialization 22 * 23 * DESCRIPTION: 24 * 25 * This routine performs the initialization necessary for this manager. 22 26 */ 23 27 -
cpukit/rtems/inline/rtems/rtems/eventset.inl
r8e76546 r1a8fde6c 20 20 * 21 21 * _Event_sets_Is_empty 22 * 23 * DESCRIPTION: 24 * 25 * This function returns TRUE if on events are posted in the event_set, 26 * and FALSE otherwise. 22 27 */ 23 28 … … 32 37 * 33 38 * _Event_sets_Post 39 * 40 * DESCRIPTION: 41 * 42 * This routine posts the given new_events into the event_set 43 * passed in. The result is returned to the user in event_set. 34 44 */ 35 45 … … 45 55 * 46 56 * _Event_sets_Get 57 * 58 * DESCRIPTION: 59 * 60 * This function returns the events in event_condition which are 61 * set in event_set. 47 62 */ 48 63 … … 58 73 * 59 74 * _Event_sets_Clear 75 * 76 * DESCRIPTION: 77 * 78 * This function removes the events in mask from the event_set 79 * passed in. The result is returned to the user in event_set. 60 80 */ 61 81 -
cpukit/rtems/inline/rtems/rtems/message.inl
r8e76546 r1a8fde6c 24 24 * _Message_queue_Is_null 25 25 * 26 * DESCRIPTION: 27 * 28 * This function places the_message at the rear of the outstanding 29 * messages on the_message_queue. 26 30 */ 27 31 … … 38 42 * _Message_queue_Free 39 43 * 44 * DESCRIPTION: 45 * 46 * This routine deallocates a message queue control block into 47 * the inactive chain of free message queue control blocks. 40 48 */ 41 49 … … 51 59 * _Message_queue_Get 52 60 * 61 * DESCRIPTION: 62 * 63 * This function maps message queue IDs to message queue control 64 * blocks. If ID corresponds to a local message queue, then it 65 * returns the_message_queue control pointer which maps to ID 66 * and location is set to OBJECTS_LOCAL. If the message queue ID is 67 * global and resides on a remote node, then location is set 68 * to OBJECTS_REMOTE, and the_message_queue is undefined. 69 * Otherwise, location is set to OBJECTS_ERROR and 70 * the_message_queue is undefined. 53 71 */ 54 72 -
cpukit/rtems/inline/rtems/rtems/modes.inl
r8e76546 r1a8fde6c 20 20 /*PAGE 21 21 * 22 * RTEMS_INTERRUPT_LEVEL23 */24 25 STATIC INLINE unsigned32 RTEMS_INTERRUPT_LEVEL (26 Modes_Control mode_set27 )28 {29 return mode_set & RTEMS_INTERRUPT_MASK;30 }31 32 /*PAGE33 *34 22 * _Modes_Mask_changed 35 23 * 24 * DESCRIPTION: 25 * 26 * This function returns TRUE if any of the mode flags in mask 27 * are set in mode_set, and FALSE otherwise. 36 28 */ 37 29 … … 48 40 * _Modes_Is_asr_disabled 49 41 * 42 * DESCRIPTION: 43 * 44 * This function returns TRUE if mode_set indicates that Asynchronous 45 * Signal Processing is disabled, and FALSE otherwise. 50 46 */ 51 47 … … 61 57 * _Modes_Is_preempt 62 58 * 59 * DESCRIPTION: 60 * 61 * This function returns TRUE if mode_set indicates that preemption 62 * is enabled, and FALSE otherwise. 63 63 */ 64 64 … … 74 74 * _Modes_Is_timeslice 75 75 * 76 * DESCRIPTION: 77 * 78 * This function returns TRUE if mode_set indicates that timeslicing 79 * is enabled, and FALSE otherwise. 76 80 */ 77 81 … … 87 91 * _Modes_Get_interrupt_level 88 92 * 93 * DESCRIPTION: 94 * 95 * This function returns the interrupt level portion of the mode_set. 89 96 */ 90 97 … … 100 107 * _Modes_Set_interrupt_level 101 108 * 109 * DESCRIPTION: 110 * 111 * This routine sets the current interrupt level to that specified 112 * in the mode_set. 102 113 */ 103 114 … … 113 124 * _Modes_Change 114 125 * 126 * DESCRIPTION: 127 * 128 * This routine changes the modes in old_mode_set indicated by 129 * mask to the requested values in new_mode_set. The resulting 130 * mode set is returned in out_mode_set and the modes that changed 131 * is returned in changed. 115 132 */ 116 133 -
cpukit/rtems/inline/rtems/rtems/options.inl
r8e76546 r1a8fde6c 22 22 * _Options_Is_no_wait 23 23 * 24 * DESCRIPTION: 25 * 26 * This function returns TRUE if the RTEMS_NO_WAIT option is enabled in 27 * option_set, and FALSE otherwise. 24 28 */ 25 29 … … 35 39 * _Options_Is_any 36 40 * 41 * DESCRIPTION: 42 * 43 * This function returns TRUE if the RTEMS_EVENT_ANY option is enabled in 44 * OPTION_SET, and FALSE otherwise. 37 45 */ 38 46 -
cpukit/rtems/inline/rtems/rtems/part.inl
r8e76546 r1a8fde6c 22 22 * _Partition_Allocate_buffer 23 23 * 24 * DESCRIPTION: 25 * 26 * This function attempts to allocate a buffer from the_partition. 27 * If successful, it returns the address of the allocated buffer. 28 * Otherwise, it returns NULL. 24 29 */ 25 30 … … 35 40 * _Partition_Free_buffer 36 41 * 42 * DESCRIPTION: 43 * 44 * This routine frees the_buffer to the_partition. 37 45 */ 38 46 … … 49 57 * _Partition_Is_buffer_on_boundary 50 58 * 59 * DESCRIPTION: 60 * 61 * This function returns TRUE if the_buffer is on a valid buffer 62 * boundary for the_partition, and FALSE otherwise. 51 63 */ 52 64 … … 70 82 * _Partition_Is_buffer_valid 71 83 * 84 * DESCRIPTION: 85 * 86 * This function returns TRUE if the_buffer is a valid buffer from 87 * the_partition, otherwise FALSE is returned. 72 88 */ 73 89 … … 93 109 * _Partition_Is_buffer_size_aligned 94 110 * 111 * DESCRIPTION: 112 * 113 * This function returns TRUE if the use of the specified buffer_size 114 * will result in the allocation of buffers whose first byte is 115 * properly aligned, and FALSE otherwise. 95 116 */ 96 117 … … 106 127 * _Partition_Allocate 107 128 * 129 * DESCRIPTION: 130 * 131 * This function allocates a partition control block from 132 * the inactive chain of free partition control blocks. 108 133 */ 109 134 … … 117 142 * _Partition_Free 118 143 * 144 * DESCRIPTION: 145 * 146 * This routine frees a partition control block to the 147 * inactive chain of free partition control blocks. 119 148 */ 120 149 … … 130 159 * _Partition_Get 131 160 * 161 * DESCRIPTION: 162 * 163 * This function maps partition IDs to partition control blocks. 164 * If ID corresponds to a local partition, then it returns 165 * the_partition control pointer which maps to ID and location 166 * is set to OBJECTS_LOCAL. If the partition ID is global and 167 * resides on a remote node, then location is set to OBJECTS_REMOTE, 168 * and the_partition is undefined. Otherwise, location is set 169 * to OBJECTS_ERROR and the_partition is undefined. 132 170 */ 133 171 … … 145 183 * _Partition_Is_null 146 184 * 185 * DESCRIPTION: 186 * 187 * This function returns TRUE if the_partition is NULL 188 * and FALSE otherwise. 147 189 */ 148 190 -
cpukit/rtems/inline/rtems/rtems/ratemon.inl
r8e76546 r1a8fde6c 22 22 * _Rate_monotonic_Allocate 23 23 * 24 * DESCRIPTION: 25 * 26 * This function allocates a period control block from 27 * the inactive chain of free period control blocks. 24 28 */ 25 29 … … 34 38 * _Rate_monotonic_Free 35 39 * 40 * DESCRIPTION: 41 * 42 * This routine allocates a period control block from 43 * the inactive chain of free period control blocks. 36 44 */ 37 45 … … 47 55 * _Rate_monotonic_Get 48 56 * 57 * DESCRIPTION: 58 * 59 * This function maps period IDs to period control blocks. 60 * If ID corresponds to a local period, then it returns 61 * the_period control pointer which maps to ID and location 62 * is set to OBJECTS_LOCAL. Otherwise, location is set 63 * to OBJECTS_ERROR and the_period is undefined. 49 64 */ 50 65 … … 62 77 * _Rate_monotonic_Is_active 63 78 * 79 * DESCRIPTION: 80 * 81 * This function returns TRUE if the_period is in the ACTIVE state, 82 * and FALSE otherwise. 64 83 */ 65 84 … … 75 94 * _Rate_monotonic_Is_inactive 76 95 * 96 * DESCRIPTION: 97 * 98 * This function returns TRUE if the_period is in the ACTIVE state, 99 * and FALSE otherwise. 77 100 */ 78 101 … … 88 111 * _Rate_monotonic_Is_expired 89 112 * 113 * DESCRIPTION: 114 * 115 * This function returns TRUE if the_period is in the EXPIRED state, 116 * and FALSE otherwise. 90 117 */ 91 118 … … 101 128 * _Rate_monotonic_Is_null 102 129 * 130 * DESCRIPTION: 131 * 132 * This function returns TRUE if the_period is NULL and FALSE otherwise. 103 133 */ 104 134 -
cpukit/rtems/inline/rtems/rtems/region.inl
r8e76546 r1a8fde6c 22 22 * _Region_Allocate 23 23 * 24 * DESCRIPTION: 25 * 26 * This function allocates a region control block from 27 * the inactive chain of free region control blocks. 24 28 */ 25 29 … … 33 37 * _Region_Free 34 38 * 39 * DESCRIPTION: 40 * 41 * This routine frees a region control block to the 42 * inactive chain of free region control blocks. 35 43 */ 36 44 … … 46 54 * _Region_Get 47 55 * 56 * DESCRIPTION: 57 * 58 * This function maps region IDs to region control blocks. 59 * If ID corresponds to a local region, then it returns 60 * the_region control pointer which maps to ID and location 61 * is set to OBJECTS_LOCAL. Otherwise, location is set 62 * to OBJECTS_ERROR and the_region is undefined. 48 63 */ 49 64 … … 61 76 * _Region_Allocate_segment 62 77 * 78 * DESCRIPTION: 79 * 80 * This function attempts to allocate a segment from the_region. 81 * If successful, it returns the address of the allocated segment. 82 * Otherwise, it returns NULL. 63 83 */ 64 84 … … 75 95 * _Region_Free_segment 76 96 * 97 * DESCRIPTION: 98 * 99 * This function frees the_segment to the_region. 77 100 */ 78 101 … … 89 112 * _Region_Is_null 90 113 * 114 * DESCRIPTION: 115 * 116 * This function returns TRUE if the_region is NULL and FALSE otherwise. 91 117 */ 92 118 -
cpukit/rtems/inline/rtems/rtems/sem.inl
r8e76546 r1a8fde6c 22 22 * _Semaphore_Allocate 23 23 * 24 * DESCRIPTION: 25 * 26 * This function allocates a semaphore control block from 27 * the inactive chain of free semaphore control blocks. 24 28 */ 25 29 … … 33 37 * _Semaphore_Free 34 38 * 39 * DESCRIPTION: 40 * 41 * This routine frees a semaphore control block to the 42 * inactive chain of free semaphore control blocks. 35 43 */ 36 44 … … 46 54 * _Semaphore_Get 47 55 * 56 * DESCRIPTION: 57 * 58 * This function maps semaphore IDs to semaphore control blocks. 59 * If ID corresponds to a local semaphore, then it returns 60 * the_semaphore control pointer which maps to ID and location 61 * is set to OBJECTS_LOCAL. if the semaphore ID is global and 62 * resides on a remote node, then location is set to OBJECTS_REMOTE, 63 * and the_semaphore is undefined. Otherwise, location is set 64 * to OBJECTS_ERROR and the_semaphore is undefined. 48 65 */ 49 66 … … 61 78 * _Semaphore_Is_null 62 79 * 80 * DESCRIPTION: 81 * 82 * This function returns TRUE if the_semaphore is NULL and FALSE otherwise. 63 83 */ 64 84 -
cpukit/rtems/inline/rtems/rtems/status.inl
r8e76546 r1a8fde6c 22 22 * rtems_is_status_successful 23 23 * 24 * DESCRIPTION: 25 * 26 * This function returns TRUE if the status code is equal to RTEMS_SUCCESSFUL, 27 * and FALSE otherwise. 24 28 */ 25 29 … … 35 39 * rtems_are_statuses_equal 36 40 * 41 * DESCRIPTION: 42 * 43 * This function returns TRUE if the status code1 is equal to code2, 44 * and FALSE otherwise. 37 45 */ 38 46 -
cpukit/rtems/inline/rtems/rtems/support.inl
r8e76546 r1a8fde6c 22 22 * rtems_is_name_valid 23 23 * 24 * DESCRIPTION: 25 * 26 * This function returns TRUE if the name is valid, and FALSE otherwise. 24 27 */ 25 28 … … 35 38 * rtems_name_to_characters 36 39 * 40 * DESCRIPTION: 41 * 42 * This function breaks the object name into the four component 43 * characters C1, C2, C3, and C4. 37 44 */ 38 45 -
cpukit/rtems/inline/rtems/rtems/tasks.inl
r8e76546 r1a8fde6c 22 22 * _RTEMS_tasks_Allocate 23 23 * 24 * DESCRIPTION: 25 * 26 * This function allocates a task control block from 27 * the inactive chain of free task control blocks. 24 28 */ 25 29 … … 33 37 * _RTEMS_tasks_Free 34 38 * 39 * DESCRIPTION: 40 * 41 * This routine frees a task control block to the 42 * inactive chain of free task control blocks. 35 43 */ 36 44 … … 48 56 * 49 57 * _RTEMS_tasks_Priority_to_Core 58 * 59 * DESCRIPTION: 60 * 61 * This function converts an RTEMS API priority into a core priority. 50 62 */ 51 63 … … 61 73 * _RTEMS_tasks_Priority_is_valid 62 74 * 75 * DESCRIPTION: 76 * 77 * This function returns TRUE if the_priority is a valid user task priority 78 * and FALSE otherwise. 63 79 */ 64 80 -
cpukit/rtems/inline/rtems/rtems/timer.inl
r8e76546 r1a8fde6c 22 22 * _Timer_Allocate 23 23 * 24 * DESCRIPTION: 25 * 26 * This function allocates a timer control block from 27 * the inactive chain of free timer control blocks. 24 28 */ 25 29 … … 33 37 * _Timer_Free 34 38 * 39 * DESCRIPTION: 40 * 41 * This routine frees a timer control block to the 42 * inactive chain of free timer control blocks. 35 43 */ 36 44 … … 46 54 * _Timer_Get 47 55 * 56 * DESCRIPTION: 57 * 58 * This function maps timer IDs to timer control blocks. 59 * If ID corresponds to a local timer, then it returns 60 * the timer control pointer which maps to ID and location 61 * is set to OBJECTS_LOCAL. Otherwise, location is set 62 * to OBJECTS_ERROR and the returned value is undefined. 48 63 */ 49 64 … … 61 76 * _Timer_Is_interval_class 62 77 * 78 * DESCRIPTION: 79 * 80 * This function returns TRUE if the class is that of an INTERVAL 81 * timer, and FALSE otherwise. 63 82 */ 64 83 … … 74 93 * _Timer_Is_time_of_day_class 75 94 * 95 * DESCRIPTION: 96 * 97 * This function returns TRUE if the class is that of an INTERVAL 98 * timer, and FALSE otherwise. 76 99 */ 77 100 … … 87 110 * _Timer_Is_dormant_class 88 111 * 112 * DESCRIPTION: 113 * 114 * This function returns TRUE if the class is that of a DORMANT 115 * timer, and FALSE otherwise. 89 116 */ 90 117 … … 100 127 * _Timer_Is_null 101 128 * 129 * DESCRIPTION: 130 * 131 * This function returns TRUE if the_timer is NULL and FALSE otherwise. 102 132 */ 103 133
Note: See TracChangeset
for help on using the changeset viewer.