From db9e88510d797e287b5c58ad601abd70fe953e7d Mon Sep 17 00:00:00 2001 From: Kinsey Moore Date: Tue, 10 Aug 2021 08:11:40 -0500 Subject: cpukit: Add exception extensions This adds the set of functions necessary to allow more generic handling of machine exceptions. This initial patch offers the ability to manipulate a CPU_Exception_frame and resume execution using that exception information with or without thread dispatch. These functions are gated behind the RTEMS_EXCEPTION_EXTENSIONS configuration option. --- spec/build/cpukit/cpuopts.yml | 2 ++ spec/build/cpukit/optexceptionextensions.yml | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 spec/build/cpukit/optexceptionextensions.yml (limited to 'spec') diff --git a/spec/build/cpukit/cpuopts.yml b/spec/build/cpukit/cpuopts.yml index 908c65d3b9..301d49ccea 100644 --- a/spec/build/cpukit/cpuopts.yml +++ b/spec/build/cpukit/cpuopts.yml @@ -39,6 +39,8 @@ links: uid: optdebug - role: build-dependency uid: optdrvmgr +- role: build-dependency + uid: optexceptionextensions - role: build-dependency uid: optmpci - role: build-dependency diff --git a/spec/build/cpukit/optexceptionextensions.yml b/spec/build/cpukit/optexceptionextensions.yml new file mode 100644 index 0000000000..1bc6d8686f --- /dev/null +++ b/spec/build/cpukit/optexceptionextensions.yml @@ -0,0 +1,18 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-boolean: null +- env-enable: null +- define-condition: null +build-type: option +copyrights: +- Copyright (C) 2021 On-Line Applications Research (OAR) +default: true +default-by-family: [] +default-by-variant: [] +description: | + Enable the RTEMS Exception Extensions for manipulating and acting on exception + frames. +enabled-by: +links: [] +name: RTEMS_EXCEPTION_EXTENSIONS +type: build -- cgit v1.2.3