summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include/rtems/rtems/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/rtems/include/rtems/rtems/config.h')
-rw-r--r--cpukit/rtems/include/rtems/rtems/config.h13
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