Changeset c5b7942 in rtems
- Timestamp:
- 08/19/22 05:22:17 (16 months ago)
- Branches:
- 5
- Children:
- cab00c70
- Parents:
- b9de5b3b
- git-author:
- Chris Johns <chrisj@…> (08/19/22 05:22:17)
- git-committer:
- Chris Johns <chrisj@…> (08/27/22 00:36:27)
- Location:
- cpukit/include
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/include/link_elf.h
rb9de5b3b rc5b7942 13 13 #include <stdint.h> 14 14 #include <rtems/rtl/rtl-obj-fwd.h> 15 16 #ifdef __cplusplus 17 extern "C" { 18 #endif 15 19 16 20 enum sections … … 77 81 */ 78 82 void _rtld_linkmap_delete (rtems_rtl_obj* obj); 83 84 #ifdef __cplusplus 85 } 86 #endif 79 87 #endif /* _LINK_ELF_H_ */ -
cpukit/include/linux/rbtree.h
rb9de5b3b rc5b7942 17 17 18 18 #include <rtems/score/rbtree.h> 19 20 #ifdef __cplusplus 21 extern "C" { 22 #endif 19 23 20 24 #define rb_node RBTree_Node … … 97 101 static inline void rb_replace_node( 98 102 struct rb_node *victim, 99 struct rb_node *replacement, 103 struct rb_node *replacement, 100 104 struct rb_root *root 101 105 ) … … 139 143 ) 140 144 145 #ifdef __cplusplus 146 } 147 #endif 148 141 149 #endif /* _LINUX_RBTREE_H */ -
cpukit/include/rtems/capture.h
rb9de5b3b rc5b7942 839 839 rtems_capture_task_control (rtems_tcb* tcb) 840 840 { 841 return tcb->Capture.control;841 return (rtems_capture_control*) tcb->Capture.control; 842 842 } 843 843 … … 854 854 rtems_capture_task_control_flags (rtems_tcb* tcb) 855 855 { 856 rtems_capture_control* control = tcb->Capture.control;856 rtems_capture_control* control = rtems_capture_task_control (tcb); 857 857 if (!control) 858 858 return 0; -
cpukit/include/rtems/posix/muteximpl.h
rb9de5b3b rc5b7942 3 3 * 4 4 * @brief Private Inlined Routines for POSIX Mutex's. 5 * 6 * This include file contains the static inline implementation of the private 5 * 6 * This include file contains the static inline implementation of the private 7 7 * inlined routines for POSIX mutex's. 8 8 */ … … 105 105 ) 106 106 { 107 return flags & POSIX_MUTEX_PROTOCOL_MASK;107 return (POSIX_Mutex_Protocol) (flags & POSIX_MUTEX_PROTOCOL_MASK); 108 108 } 109 109 … … 485 485 #endif 486 486 /* end of include file */ 487 -
cpukit/include/rtems/posix/pthreadattrimpl.h
rb9de5b3b rc5b7942 73 73 const POSIX_API_Control *api; 74 74 75 api = the_thread->API_Extensions[ THREAD_API_POSIX ];75 api = (const POSIX_API_Control*) the_thread->API_Extensions[ THREAD_API_POSIX ]; 76 76 param->sched_ss_low_priority = _POSIX_Priority_From_core( 77 77 scheduler, -
cpukit/include/rtems/rtl/rtl-obj.h
rb9de5b3b rc5b7942 232 232 void* tramp_brk; /**< Trampoline memory allocator. MD 233 233 * relocators can take memory from the 234 * break up to the size. */234 * break up to the size. */ 235 235 size_t tramp_relocs; /**< Number of slots reserved for 236 236 * relocs. The remainder are for … … 334 334 return 335 335 (address >= obj->text_base) && 336 ( address < (obj->text_base + obj->text_size));336 ((char*) address < ((char*) obj->text_base + obj->text_size)); 337 337 } 338 338 … … 375 375 * @retval bool Returns @true if the space is available. 376 376 */ 377 static inline size_t rtems_rtl_obj_tramp_avail_space (const rtems_rtl_obj* obj) 378 { 379 return (char*) obj->tramp_brk - (char*) obj->trampoline; 380 } 381 382 /** 383 * Is there space in the trampoline memory for a trapoline. 384 * 385 * @param obj The object file's descriptor to check for available space. 386 * @param size The size to be allocated. 387 * @retval bool Returns @true if the space is available. 388 */ 377 389 static inline bool rtems_rtl_obj_has_tramp_space (const rtems_rtl_obj* obj, 378 390 const size_t size) 379 391 { 380 392 return (obj->trampoline != NULL && 381 ( (obj->tramp_brk - obj->trampoline) + size) <= obj->tramps_size);393 (rtems_rtl_obj_tramp_avail_space (obj) + size) <= obj->tramps_size); 382 394 } 383 395 … … 403 415 { 404 416 return obj->trampoline == NULL || obj->tramp_size == 0 ? 405 0 : (obj->tramp_brk - obj->trampoline) / obj->tramp_size;417 0 : rtems_rtl_obj_tramp_avail_space (obj) / obj->tramp_size; 406 418 } 407 419 -
cpukit/include/rtems/rtl/rtl.h
rb9de5b3b rc5b7942 89 89 * variable. 90 90 */ 91 externvoid _rtld_debug_state (void);91 void _rtld_debug_state (void); 92 92 93 93 /** -
cpukit/include/rtems/score/priority.h
rb9de5b3b rc5b7942 25 25 #include <rtems/score/rbtree.h> 26 26 27 struct _Scheduler_Control;28 29 27 #ifdef __cplusplus 30 28 extern "C" { 31 29 #endif 30 31 struct _Scheduler_Control; 32 32 33 33 /** -
cpukit/include/rtems/score/priorityimpl.h
rb9de5b3b rc5b7942 390 390 const Priority_Node *the_right; 391 391 392 the_left = left;392 the_left = (const Priority_Control*) left; 393 393 the_right = RTEMS_CONTAINER_OF( right, Priority_Node, Node.RBTree ); 394 394 -
cpukit/include/rtems/score/scheduleredfimpl.h
rb9de5b3b rc5b7942 101 101 Priority_Control prio_right; 102 102 103 the_left = left;103 the_left = (const Priority_Control*) left; 104 104 the_right = RTEMS_CONTAINER_OF( right, Scheduler_EDF_Node, Node ); 105 105 … … 129 129 Priority_Control prio_right; 130 130 131 the_left = left;131 the_left = (const Priority_Control*) left; 132 132 the_right = RTEMS_CONTAINER_OF( right, Scheduler_EDF_Node, Node ); 133 133 -
cpukit/include/rtems/score/tls.h
rb9de5b3b rc5b7942 223 223 void *tls_block = (char *) tls_area 224 224 + _TLS_Get_thread_control_block_area_size( (uintptr_t) _TLS_Alignment ); 225 TLS_Thread_control_block *tcb = tls_area;225 TLS_Thread_control_block *tcb = (TLS_Thread_control_block*) tls_area; 226 226 uintptr_t aligned_size = _TLS_Heap_align_up( (uintptr_t) _TLS_Size ); 227 227 TLS_Dynamic_thread_vector *dtv = (TLS_Dynamic_thread_vector *) -
cpukit/include/rtems/score/watchdogimpl.h
rb9de5b3b rc5b7942 151 151 ) 152 152 { 153 return RB_COLOR( &the_watchdog->Node.RBTree, Node );153 return (Watchdog_State) RB_COLOR( &the_watchdog->Node.RBTree, Node ); 154 154 } 155 155
Note: See TracChangeset
for help on using the changeset viewer.