You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2024/04/28 09:24:37 UTC

(nuttx) branch master updated: arch/risc-v: Fix typo in riscv_set_inital_sp

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new c148e8f2af arch/risc-v: Fix typo in riscv_set_inital_sp
c148e8f2af is described below

commit c148e8f2af6424ef4c0661bdae7ee7bb87f85ca0
Author: Inochi Amaoto <in...@outlook.com>
AuthorDate: Sun Apr 28 13:27:18 2024 +0800

    arch/risc-v: Fix typo in riscv_set_inital_sp
    
    Set right name for the parameter description of riscv_set_inital_sp.
    
    Signed-off-by: Inochi Amaoto <in...@outlook.com>
---
 arch/risc-v/src/common/riscv_macros.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/risc-v/src/common/riscv_macros.S b/arch/risc-v/src/common/riscv_macros.S
index 62e7f9902a..0ab8358d50 100644
--- a/arch/risc-v/src/common/riscv_macros.S
+++ b/arch/risc-v/src/common/riscv_macros.S
@@ -384,7 +384,7 @@
  * Parameter:
  *   base - Pointer to where the stack is allocated (e.g. _ebss)
  *   size - Stack size for pre cpu to allocate
- *   size - Hart id register of this hart (Usually a0)
+ *   hartid - Hart id register of this hart (Usually a0)
  *
  ****************************************************************************/
 .macro riscv_set_inital_sp base, size, hartid