Changeset 51f823c9 in rtems for cpukit/sapi
- Timestamp:
- 03/18/14 07:28:14 (10 years ago)
- Branches:
- 4.11, 5, master
- Children:
- ff25926
- Parents:
- fa3993d9
- git-author:
- Sebastian Huber <sebastian.huber@…> (03/18/14 07:28:14)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (03/19/14 07:34:26)
- Location:
- cpukit/sapi
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/sapi/include/confdefs.h
rfa3993d9 r51f823c9 1767 1767 1768 1768 /** 1769 * POSIX Once support uses a single mutex.1770 */1771 #define CONFIGURE_MAXIMUM_POSIX_INTERNAL_MUTEXES 11772 1773 /**1774 1769 * Account for the object control structures plus the name 1775 1770 * of the object to be duplicated. … … 1900 1895 #define CONFIGURE_MEMORY_FOR_POSIX \ 1901 1896 ( CONFIGURE_MEMORY_FOR_POSIX_MUTEXES( CONFIGURE_MAXIMUM_POSIX_MUTEXES + \ 1902 CONFIGURE_MAXIMUM_POSIX_INTERNAL_MUTEXES + \1903 1897 CONFIGURE_MAXIMUM_GO_CHANNELS + CONFIGURE_GO_INIT_MUTEXES) + \ 1904 1898 CONFIGURE_MEMORY_FOR_POSIX_CONDITION_VARIABLES( \ … … 2131 2125 2132 2126 /** 2133 * RTEMS uses oneinstance of an internal mutex class. This accounts2134 * for th at mutex2127 * RTEMS uses two instance of an internal mutex class. This accounts 2128 * for these mutexes. 2135 2129 */ 2136 2130 #define CONFIGURE_API_MUTEX_MEMORY \ 2137 _Configure_Object_RAM( 1, sizeof(API_Mutex_Control))2131 _Configure_Object_RAM(2, sizeof(API_Mutex_Control)) 2138 2132 2139 2133 /** … … 2350 2344 CONFIGURE_MAXIMUM_GOROUTINES, 2351 2345 CONFIGURE_MAXIMUM_POSIX_MUTEXES + CONFIGURE_GNAT_MUTEXES + 2352 CONFIGURE_MAXIMUM_POSIX_INTERNAL_MUTEXES +2353 2346 CONFIGURE_MAXIMUM_ADA_TASKS + CONFIGURE_MAXIMUM_FAKE_ADA_TASKS + 2354 2347 CONFIGURE_GO_INIT_MUTEXES + CONFIGURE_MAXIMUM_GO_CHANNELS, … … 2600 2593 /* POSIX API Pieces */ 2601 2594 CONFIGURE_MEMORY_FOR_POSIX_MUTEXES( CONFIGURE_MAXIMUM_POSIX_MUTEXES + 2602 CONFIGURE_MAXIMUM_POSIX_INTERNAL_MUTEXES +2603 2595 CONFIGURE_MAXIMUM_GO_CHANNELS + CONFIGURE_GO_INIT_MUTEXES), 2604 2596 CONFIGURE_MEMORY_FOR_POSIX_CONDITION_VARIABLES( -
cpukit/sapi/src/exinit.c
rfa3993d9 r51f823c9 117 117 _Objects_Information_table[OBJECTS_INTERNAL_API] = _Internal_Objects; 118 118 119 _API_Mutex_Initialization( 1);119 _API_Mutex_Initialization( 2 ); 120 120 _API_Mutex_Allocate( &_RTEMS_Allocator_Mutex ); 121 _API_Mutex_Allocate( &_Once_Mutex ); 121 122 122 123 _Watchdog_Handler_initialization(); -
cpukit/sapi/src/posixapi.c
rfa3993d9 r51f823c9 37 37 #include <rtems/posix/mqueueimpl.h> 38 38 #include <rtems/posix/muteximpl.h> 39 #include <rtems/posix/onceimpl.h>40 39 #include <rtems/posix/priorityimpl.h> 41 40 #include <rtems/posix/psignalimpl.h> … … 80 79 _POSIX_Mutex_Manager_initialization(); 81 80 _POSIX_Message_queue_Manager_initialization(); 82 _POSIX_Once_Manager_initialization();83 81 _POSIX_Semaphore_Manager_initialization(); 84 82 _POSIX_Timer_Manager_initialization();
Note: See TracChangeset
for help on using the changeset viewer.