[rtems-docs commit] c-user: Improve interrupt set affinity handling

Sebastian Huber sebh at rtems.org
Wed Mar 16 06:17:13 UTC 2022


Module:    rtems-docs
Branch:    master
Commit:    49f84b7de3399867c8e4f555734824fd5799f6e5
Changeset: http://git.rtems.org/rtems-docs/commit/?id=49f84b7de3399867c8e4f555734824fd5799f6e5

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Mar 15 17:44:12 2022 +0100

c-user: Improve interrupt set affinity handling

Update #3269.

---

 c-user/interrupt/directives.rst   | 7 ++++++-
 c-user/interrupt/introduction.rst | 2 +-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/c-user/interrupt/directives.rst b/c-user/interrupt/directives.rst
index 2d7dccf..d4855b6 100644
--- a/c-user/interrupt/directives.rst
+++ b/c-user/interrupt/directives.rst
@@ -1,6 +1,6 @@
 .. SPDX-License-Identifier: CC-BY-SA-4.0
 
-.. Copyright (C) 2008, 2021 embedded brains GmbH (http://www.embedded-brains.de)
+.. Copyright (C) 2008, 2022 embedded brains GmbH (http://www.embedded-brains.de)
 .. Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR)
 
 .. This file is part of the RTEMS quality process and was automatically
@@ -2123,6 +2123,11 @@ Sets the processor affinity set of the interrupt vector.
 The :ref:`InterfaceRtemsInterruptGetAttributes` directive may be used to check
 if the processor affinity of an interrupt vector can be set.
 
+Only online processors of the affinity set specified by ``affinity_size`` and
+``affinity`` are considered by the directive.  Other processors of the set are
+ignored.  If the set contains no online processor, then the set is invalid and
+an error status is returned.
+
 .. rubric:: CONSTRAINTS:
 
 The following constraints apply to this directive:
diff --git a/c-user/interrupt/introduction.rst b/c-user/interrupt/introduction.rst
index 7987b54..3e10414 100644
--- a/c-user/interrupt/introduction.rst
+++ b/c-user/interrupt/introduction.rst
@@ -1,6 +1,6 @@
 .. SPDX-License-Identifier: CC-BY-SA-4.0
 
-.. Copyright (C) 2008, 2021 embedded brains GmbH (http://www.embedded-brains.de)
+.. Copyright (C) 2008, 2022 embedded brains GmbH (http://www.embedded-brains.de)
 .. Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR)
 
 .. This file is part of the RTEMS quality process and was automatically



More information about the vc mailing list