From d82b6d1dc955d43ad03548148c40b9518ad15af7 Mon Sep 17 00:00:00 2001 From: Jonathan Cubides Date: Thu, 23 Jan 2025 15:02:06 +0100 Subject: [PATCH] port: riscv: Fix typo --- portable/GCC/RISC-V/portASM.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portable/GCC/RISC-V/portASM.S b/portable/GCC/RISC-V/portASM.S index 99613ada6..64530aac1 100644 --- a/portable/GCC/RISC-V/portASM.S +++ b/portable/GCC/RISC-V/portASM.S @@ -197,7 +197,7 @@ definitions. */ */ pxPortInitialiseStack: csrr t0, mstatus /* Obtain current mstatus value. */ - andi t0, t0, ~0x8 /* Ensure interrupts are disabled when the stack is restored within an ISR. Required when a task is created after the schedulre has been started, otherwise interrupts would be disabled anyway. */ + andi t0, t0, ~0x8 /* Ensure interrupts are disabled when the stack is restored within an ISR. Required when a task is created after the scheduler has been started, otherwise interrupts would be disabled anyway. */ addi t1, x0, 0x188 /* Generate the value 0x1880, which are the MPIE and MPP bits to set in mstatus. */ slli t1, t1, 4 or t0, t0, t1 /* Set MPIE and MPP bits in mstatus value. */