From 4812a8b572637830d58335cdcc6b200f86e9d435 Mon Sep 17 00:00:00 2001 From: Kinsey Moore Date: Tue, 6 Apr 2021 09:02:20 -0500 Subject: cpukit: Add signal mapping support This adds a confdef option allowing an application to request mapping machine exceptions to POSIX signals. This is required for some languages such as Ada. --- cpukit/doxygen/appl-config.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'cpukit/doxygen/appl-config.h') diff --git a/cpukit/doxygen/appl-config.h b/cpukit/doxygen/appl-config.h index c0e5b0b717..4735af8766 100644 --- a/cpukit/doxygen/appl-config.h +++ b/cpukit/doxygen/appl-config.h @@ -1773,6 +1773,29 @@ */ #define CONFIGURE_ATA_DRIVER_TASK_PRIORITY +/* Generated from spec:/acfg/if/exception-to-signal-mapping */ + +/** + * @brief This configuration option is a boolean feature define. + * + * In case this configuration option is defined, then the machine exception to + * POSIX signal mapping is configured during system initialization. + * + * @par Default Configuration + * If this configuration option is undefined, then the described feature is not + * enabled. + * + * @par Notes + * @parblock + * This device driver is responsible for setting up a mapping from machine + * exceptions to POSIX signals so that applications may consume them and alter + * task execution as necessary. + * + * This is especially useful for applications written in Ada or C++. + * @endparblock + */ +#define CONFIGURE_EXCEPTION_TO_SIGNAL_MAPPING + /* Generated from spec:/acfg/if/max-drivers */ /** -- cgit v1.2.3