Skip to content

Commit 99ed67d

Browse files
committed
few cleanups
Signed-off-by: Akif Ejaz <akif.ejaz@10xengineers.ai>
1 parent 6c25eff commit 99ed67d

4 files changed

Lines changed: 14 additions & 6 deletions

File tree

ports/risc-v64/gnu/src/tx_thread_context_save.S

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
/***************************************************************************
2+
* Copyright (c) 2024 Microsoft Corporation
3+
*
4+
* This program and the accompanying materials are made available under the
5+
* terms of the MIT License which is available at
6+
* https://opensource.org/licenses/MIT.
7+
*
8+
* SPDX-License-Identifier: MIT
9+
**************************************************************************/
10+
11+
112
/**************************************************************************/
213
/**************************************************************************/
314
/** */

ports/risc-v64/gnu/src/tx_thread_interrupt_control.S

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
/**************************************************************************/
2020
/**************************************************************************/
2121

22-
/* Define which mstatus bits this function will modify/return. */
23-
/* MSTATUS_MIE bit 3 = Machine Interrupt Enable */
2422

2523
.section .text
2624
/**************************************************************************/

ports/risc-v64/gnu/src/tx_thread_schedule.S

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@
6767
_tx_thread_schedule:
6868

6969
/* Enable interrupts. */
70-
/* mstatus |= MIE; */
7170
csrsi mstatus, 0x08 /* Enable interrupts (MIE bit 3) */
7271

7372
/* Wait for a thread to execute. */

ports/risc-v64/gnu/src/tx_timer_interrupt.S

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/***************************************************************************
2-
* Copyright (c) 2024 Microsoft Corporation
2+
* Copyright (c) 2026 10xEngineers
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the MIT License which is available at
@@ -29,7 +29,7 @@
2929
/* 6.2.1 */
3030
/* AUTHOR */
3131
/* */
32-
/* Scott Larson, Microsoft Corporation */
32+
/* Akif Ejaz, 10xEngineers */
3333
/* */
3434
/* DESCRIPTION */
3535
/* */
@@ -60,7 +60,7 @@
6060
/* */
6161
/* DATE NAME DESCRIPTION */
6262
/* */
63-
/* 03-08-2023 Scott Larson Initial Version 6.2.1 */
63+
/* 01-20-2023 Akif Ejaz Initial Version 6.2.1 */
6464
/* */
6565
/**************************************************************************/
6666
/* VOID _tx_timer_interrupt(VOID)

0 commit comments

Comments
 (0)