few cleanups

Signed-off-by: Akif Ejaz <akif.ejaz@10xengineers.ai>
This commit is contained in:
Akif Ejaz
2026-01-26 16:08:51 +05:00
parent 6c25effb40
commit 99ed67df5a
4 changed files with 14 additions and 6 deletions
@@ -1,3 +1,14 @@
/***************************************************************************
* Copyright (c) 2024 Microsoft Corporation
*
* 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
**************************************************************************/
/**************************************************************************/
/**************************************************************************/
/** */
@@ -19,8 +19,6 @@
/**************************************************************************/
/**************************************************************************/
/* Define which mstatus bits this function will modify/return. */
/* MSTATUS_MIE bit 3 = Machine Interrupt Enable */
.section .text
/**************************************************************************/
@@ -67,7 +67,6 @@
_tx_thread_schedule:
/* Enable interrupts. */
/* mstatus |= MIE; */
csrsi mstatus, 0x08 /* Enable interrupts (MIE bit 3) */
/* Wait for a thread to execute. */
+3 -3
View File
@@ -1,5 +1,5 @@
/***************************************************************************
* Copyright (c) 2024 Microsoft Corporation
* Copyright (c) 2026 10xEngineers
*
* This program and the accompanying materials are made available under the
* terms of the MIT License which is available at
@@ -29,7 +29,7 @@
/* 6.2.1 */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
/* Akif Ejaz, 10xEngineers */
/* */
/* DESCRIPTION */
/* */
@@ -60,7 +60,7 @@
/* */
/* DATE NAME DESCRIPTION */
/* */
/* 03-08-2023 Scott Larson Initial Version 6.2.1 */
/* 01-20-2023 Akif Ejaz Initial Version 6.2.1 */
/* */
/**************************************************************************/
/* VOID _tx_timer_interrupt(VOID)