summaryrefslogtreecommitdiff
path: root/ports/xtensa/xcc/src/tx_thread_interrupt_control.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/xtensa/xcc/src/tx_thread_interrupt_control.c')
-rw-r--r--ports/xtensa/xcc/src/tx_thread_interrupt_control.c35
1 files changed, 15 insertions, 20 deletions
diff --git a/ports/xtensa/xcc/src/tx_thread_interrupt_control.c b/ports/xtensa/xcc/src/tx_thread_interrupt_control.c
index dfc9552d..3a0cae27 100644
--- a/ports/xtensa/xcc/src/tx_thread_interrupt_control.c
+++ b/ports/xtensa/xcc/src/tx_thread_interrupt_control.c
@@ -1,10 +1,11 @@
/***************************************************************************
- * Copyright (c) 2024 Microsoft Corporation
- *
+ * Copyright (c) 2024 Microsoft Corporation
+ * Copyright (c) 2026-present Eclipse ThreadX contributors
+ *
* This program and the accompanying materials are made available under the
* terms of the MIT License which is available at
* https://opensource.org/licenses/MIT.
- *
+ *
* SPDX-License-Identifier: MIT
**************************************************************************/
@@ -33,8 +34,8 @@
/**************************************************************************/
/**************************************************************************/
-/** */
-/** ThreadX Component */
+/** */
+/** ThreadX Component */
/** */
/** Thread */
/** */
@@ -46,21 +47,15 @@
#include "xtensa_rtos.h"
-/**************************************************************************/
-/* */
-/* DESCRIPTION */
-/* */
-/* This function is responsible for changing the interrupt lockout */
-/* posture of the system. */
-/* NOTE: In earlier versions this was implemented in assembly. */
-/* */
-/* RELEASE HISTORY */
-/* */
-/* DATE NAME DESCRIPTION */
-/* */
-/* 12-31-2020 Cadence Design Systems Initial Version 6.1.3 */
-/* */
-/**************************************************************************/
+/**************************************************************************/
+/* */
+/* DESCRIPTION */
+/* */
+/* This function is responsible for changing the interrupt lockout */
+/* posture of the system. */
+/* NOTE: In earlier versions this was implemented in assembly. */
+/* */
+/**************************************************************************/
UINT _tx_thread_interrupt_control(UINT new_posture)
{