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