This is an automated email from the ASF dual-hosted git repository.
acassis 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 804f713c86 Update riscv_mmu.h to fix typo in comment
804f713c86 is described below
commit 804f713c862cc5e8c1dae5067b8f8781165b1bd2
Author: yf13 <[email protected]>
AuthorDate: Fri Dec 22 19:23:55 2023 +0800
Update riscv_mmu.h to fix typo in comment
fix typo in comment of mmu_get_region_size function
---
arch/risc-v/src/common/riscv_mmu.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/risc-v/src/common/riscv_mmu.h
b/arch/risc-v/src/common/riscv_mmu.h
index a1d3de36b1..0e6e1b2b38 100644
--- a/arch/risc-v/src/common/riscv_mmu.h
+++ b/arch/risc-v/src/common/riscv_mmu.h
@@ -451,7 +451,7 @@ void mmu_ln_map_region(uint32_t ptlevel, uintptr_t lnvaddr,
uintptr_t paddr,
uintptr_t vaddr, size_t size, uint64_t mmuflags);
/****************************************************************************
- * Name: mmu_ln_map_region
+ * Name: mmu_get_region_size
*
* Description:
* Get (giga/mega) page size for level n.