diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-06-16 15:54:21 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-06-16 15:54:21 +0000 |
commit | 4cb19041d7d78d9ae29f878871e4d2b89b9abc22 (patch) | |
tree | 3efcf5818a29323bf55577ffbb324cd301249519 /cpukit/rtems/include/rtems/rtems/config.h | |
parent | 2008-06-13 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-4cb19041d7d78d9ae29f878871e4d2b89b9abc22.tar.bz2 |
2008-06-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems/rtems/config.h,
rtems/include/rtems/rtems/tasks.h, rtems/src/taskgetnote.c,
rtems/src/tasks.c, rtems/src/tasksetnote.c, sapi/include/confdefs.h:
Add CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS.
Diffstat (limited to 'cpukit/rtems/include/rtems/rtems/config.h')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/config.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/config.h b/cpukit/rtems/include/rtems/rtems/config.h index 5afc3063d4..4298e6a215 100644 --- a/cpukit/rtems/include/rtems/rtems/config.h +++ b/cpukit/rtems/include/rtems/rtems/config.h @@ -48,6 +48,12 @@ typedef struct { uint32_t maximum_tasks; /** + * This field indicates whether Classic API notepads are + * enabled or disabled. + */ + boolean notepads_enabled; + + /** * This field contains the maximum number of Classic API * Timers which are configured for this application. */ @@ -110,6 +116,13 @@ typedef struct { rtems_initialization_tasks_table *User_initialization_tasks_table; } rtems_api_configuration_table; +/** + * This macro returns the value of the notepads enabled field + * in the Classic API configuration table. + */ +#define rtems_configuration_get_notepads_enabled() \ + rtems_configuration_get_rtems_api_configuration()->notepads_enabled + #ifdef __cplusplus } #endif |