From 49f84b7de3399867c8e4f555734824fd5799f6e5 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 15 Mar 2022 17:44:12 +0100 Subject: 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(-) (limited to 'c-user') 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 -- cgit v1.2.3