Changeset f913c79 in rtems for cpukit/sapi
- Timestamp:
- 07/18/13 09:27:39 (11 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 50ccf98
- Parents:
- 0bbd8fdc
- git-author:
- Sebastian Huber <sebastian.huber@…> (07/18/13 09:27:39)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (07/22/13 14:46:01)
- Location:
- cpukit/sapi/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/sapi/include/confdefs.h
r0bbd8fdc rf913c79 2365 2365 false, 2366 2366 #endif 2367 #ifdef RTEMS_SMP 2368 #ifdef CONFIGURE_SMP_APPLICATION 2369 true, 2370 #else 2371 false, 2372 #endif 2373 #endif 2367 2374 CONFIGURE_MAXIMUM_DRIVERS, /* maximum device drivers */ 2368 2375 CONFIGURE_NUMBER_OF_DRIVERS, /* static device drivers */ -
cpukit/sapi/include/rtems/config.h
r0bbd8fdc rf913c79 222 222 */ 223 223 bool stack_allocator_avoids_work_space; 224 225 #ifdef RTEMS_SMP 226 bool smp_enabled; 227 #endif 224 228 225 229 uint32_t maximum_drivers; … … 340 344 341 345 /** 346 * @brief Returns true if the SMP mode of operation is enabled, and false 347 * otherwise. 348 * 349 * On single-processor configurations this is a compile time constant which 350 * evaluates to false. 351 * 352 * @retval true SMP mode of operation is enabled. 353 * @retval false Otherwise. 354 */ 355 #ifdef RTEMS_SMP 356 #define rtems_configuration_is_smp_enabled() \ 357 (Configuration.smp_enabled) 358 #else 359 #define rtems_configuration_is_smp_enabled() \ 360 false 361 #endif 362 363 /** 342 364 * @brief Returns the configured maximum count of processors. 343 365 * 344 366 * The actual number of processors available for the application will be less 345 367 * than or equal to the configured maximum count of processors. 368 * 369 * On single-processor configurations this is a compile time constant which 370 * evaluates to one. 346 371 * 347 372 * @return The configured maximum count of processors.
Note: See TracChangeset
for help on using the changeset viewer.