[PATCH] c-user: Improve interrupt set affinity handling

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Mar 15 16:44:53 UTC 2022


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 69a8781..ffdb981 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
@@ -2151,6 +2151,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
-- 
2.34.1



More information about the devel mailing list