Changeset 2eba45d in rtems
- Timestamp:
- 05/28/96 14:16:45 (27 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 52d9e4d1
- Parents:
- 4b06db75
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/sapi/headers/confdefs.h
r4b06db75 r2eba45d 27 27 extern rtems_configuration_table Configuration; 28 28 extern rtems_multiprocessing_table Multiprocessing_configuration; 29 #ifdef RTEMS_POSIX_API 30 extern posix_api_configuration_table Configuration_POSIX_API; 31 #endif 29 32 30 33 /* … … 234 237 #ifndef CONFIGURE_INITIAL_EXTENSIONS 235 238 #define CONFIGURE_INITIAL_EXTENSIONS NULL 239 #endif 240 241 /* 242 * POSIX API Configuration Parameters 243 */ 244 245 #ifdef RTEMS_POSIX_API 246 247 #ifndef CONFIGURE_MAXIMUM_POSIX_THREADS 248 #define CONFIGURE_MAXIMUM_POSIX_THREADS 10 249 #endif 250 251 #ifndef CONFIGURE_MAXIMUM_POSIX_MUTEXES 252 #define CONFIGURE_MAXIMUM_POSIX_MUTEXES 0 253 #endif 254 255 #ifndef CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 256 #define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 0 257 #endif 258 236 259 #endif 237 260 … … 356 379 }; 357 380 381 #ifdef RTEMS_POSIX_API 382 posix_api_configuration_table Configuration_POSIX_API = { 383 CONFIGURE_MAXIMUM_POSIX_THREADS, 384 CONFIGURE_MAXIMUM_POSIX_MUTEXES, 385 CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES, 386 0, 387 NULL 388 }; 389 #endif 390 358 391 rtems_configuration_table Configuration = { 359 392 CONFIGURE_EXECUTIVE_RAM_WORK_AREA, … … 369 402 CONFIGURE_MULTIPROCESSING_TABLE, /* pointer to MP config table */ 370 403 &Configuration_RTEMS_API, /* pointer to RTEMS API config */ 371 NULL /* pointer to RTEMS API config */ 404 #ifdef RTEMS_POSIX_API 405 &Configuration_POSIX_API /* pointer to POSIX API config */ 406 #else 407 NULL /* pointer to POSIX API config */ 408 #endif 372 409 }; 373 410 #endif -
c/src/exec/sapi/headers/config.h
r4b06db75 r2eba45d 22 22 #endif 23 23 24 /* 25 * This is kind of kludgy but it allows targets to totally ignore the 26 * POSIX API safely. 27 */ 28 29 #ifdef RTEMS_POSIX_API 24 30 #include <rtems/posix/config.h> 31 #else 32 33 typedef void *posix_api_configuration_table; 34 #endif 35 25 36 #include <rtems/rtems/config.h> 26 37 -
c/src/exec/sapi/include/confdefs.h
r4b06db75 r2eba45d 27 27 extern rtems_configuration_table Configuration; 28 28 extern rtems_multiprocessing_table Multiprocessing_configuration; 29 #ifdef RTEMS_POSIX_API 30 extern posix_api_configuration_table Configuration_POSIX_API; 31 #endif 29 32 30 33 /* … … 234 237 #ifndef CONFIGURE_INITIAL_EXTENSIONS 235 238 #define CONFIGURE_INITIAL_EXTENSIONS NULL 239 #endif 240 241 /* 242 * POSIX API Configuration Parameters 243 */ 244 245 #ifdef RTEMS_POSIX_API 246 247 #ifndef CONFIGURE_MAXIMUM_POSIX_THREADS 248 #define CONFIGURE_MAXIMUM_POSIX_THREADS 10 249 #endif 250 251 #ifndef CONFIGURE_MAXIMUM_POSIX_MUTEXES 252 #define CONFIGURE_MAXIMUM_POSIX_MUTEXES 0 253 #endif 254 255 #ifndef CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 256 #define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 0 257 #endif 258 236 259 #endif 237 260 … … 356 379 }; 357 380 381 #ifdef RTEMS_POSIX_API 382 posix_api_configuration_table Configuration_POSIX_API = { 383 CONFIGURE_MAXIMUM_POSIX_THREADS, 384 CONFIGURE_MAXIMUM_POSIX_MUTEXES, 385 CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES, 386 0, 387 NULL 388 }; 389 #endif 390 358 391 rtems_configuration_table Configuration = { 359 392 CONFIGURE_EXECUTIVE_RAM_WORK_AREA, … … 369 402 CONFIGURE_MULTIPROCESSING_TABLE, /* pointer to MP config table */ 370 403 &Configuration_RTEMS_API, /* pointer to RTEMS API config */ 371 NULL /* pointer to RTEMS API config */ 404 #ifdef RTEMS_POSIX_API 405 &Configuration_POSIX_API /* pointer to POSIX API config */ 406 #else 407 NULL /* pointer to POSIX API config */ 408 #endif 372 409 }; 373 410 #endif -
c/src/exec/sapi/include/rtems/config.h
r4b06db75 r2eba45d 22 22 #endif 23 23 24 /* 25 * This is kind of kludgy but it allows targets to totally ignore the 26 * POSIX API safely. 27 */ 28 29 #ifdef RTEMS_POSIX_API 24 30 #include <rtems/posix/config.h> 31 #else 32 33 typedef void *posix_api_configuration_table; 34 #endif 35 25 36 #include <rtems/rtems/config.h> 26 37 -
cpukit/sapi/include/confdefs.h
r4b06db75 r2eba45d 27 27 extern rtems_configuration_table Configuration; 28 28 extern rtems_multiprocessing_table Multiprocessing_configuration; 29 #ifdef RTEMS_POSIX_API 30 extern posix_api_configuration_table Configuration_POSIX_API; 31 #endif 29 32 30 33 /* … … 234 237 #ifndef CONFIGURE_INITIAL_EXTENSIONS 235 238 #define CONFIGURE_INITIAL_EXTENSIONS NULL 239 #endif 240 241 /* 242 * POSIX API Configuration Parameters 243 */ 244 245 #ifdef RTEMS_POSIX_API 246 247 #ifndef CONFIGURE_MAXIMUM_POSIX_THREADS 248 #define CONFIGURE_MAXIMUM_POSIX_THREADS 10 249 #endif 250 251 #ifndef CONFIGURE_MAXIMUM_POSIX_MUTEXES 252 #define CONFIGURE_MAXIMUM_POSIX_MUTEXES 0 253 #endif 254 255 #ifndef CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 256 #define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 0 257 #endif 258 236 259 #endif 237 260 … … 356 379 }; 357 380 381 #ifdef RTEMS_POSIX_API 382 posix_api_configuration_table Configuration_POSIX_API = { 383 CONFIGURE_MAXIMUM_POSIX_THREADS, 384 CONFIGURE_MAXIMUM_POSIX_MUTEXES, 385 CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES, 386 0, 387 NULL 388 }; 389 #endif 390 358 391 rtems_configuration_table Configuration = { 359 392 CONFIGURE_EXECUTIVE_RAM_WORK_AREA, … … 369 402 CONFIGURE_MULTIPROCESSING_TABLE, /* pointer to MP config table */ 370 403 &Configuration_RTEMS_API, /* pointer to RTEMS API config */ 371 NULL /* pointer to RTEMS API config */ 404 #ifdef RTEMS_POSIX_API 405 &Configuration_POSIX_API /* pointer to POSIX API config */ 406 #else 407 NULL /* pointer to POSIX API config */ 408 #endif 372 409 }; 373 410 #endif -
cpukit/sapi/include/rtems/config.h
r4b06db75 r2eba45d 22 22 #endif 23 23 24 /* 25 * This is kind of kludgy but it allows targets to totally ignore the 26 * POSIX API safely. 27 */ 28 29 #ifdef RTEMS_POSIX_API 24 30 #include <rtems/posix/config.h> 31 #else 32 33 typedef void *posix_api_configuration_table; 34 #endif 35 25 36 #include <rtems/rtems/config.h> 26 37
Note: See TracChangeset
for help on using the changeset viewer.