arch/risc-v: correct minor issues regarding comments

The comment in riscv_vpu.S should be vector not floating

Signed-off-by: chao an <anchao@lixiang.com>
This commit is contained in:
chao an 2024-04-30 08:57:14 +08:00 committed by Xiang Xiao
parent e4d4c67b78
commit 8821a0396a

View File

@ -76,8 +76,8 @@ riscv_vpuconfig:
* Name: riscv_savevpu
*
* Description:
* Given the pointer to a register save area (in A0), save the state of the
* floating point registers.
* Given the pointer to a register save area (in A1), save the state of the
* vector point registers.
*
* C Function Prototype:
* void riscv_savevpu(uintptr_t *regs, uintptr_t *fregs);
@ -85,7 +85,7 @@ riscv_vpuconfig:
* Input Parameters:
* regs - A pointer to the integer registers that contain the status
* fregs - A pointer to the register save area in which to save the
* floating point registers
* vector point registers
*
* Returned Value:
* None
@ -120,15 +120,15 @@ riscv_savevpu:
* Name: riscv_restorevpu
*
* Description:
* Given the pointer to a register save area (in A0), restore the state of
* the floating point registers.
* Given the pointer to a register save area (in A1), restore the state of
* the vector point registers.
*
* C Function Prototype:
* void riscv_restorevpu(uintptr_t *regs, uintptr_t *fregs);
*
* Input Parameters:
* regs - A pointer to the integer registers that contain the status
* fregs - A pointer to the register save area containing the floating
* fregs - A pointer to the register save area containing the vector
* point registers.
*
* Returned Value: