mirror of
https://github.com/eclipse-threadx/threadx.git
synced 2026-09-22 21:44:07 +08:00
@@ -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. */
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user