提交 1c2daeaf 编写于 作者: W wangxiaoyao 提交者: guo

[fix] typo

上级 26891e91
...@@ -17,11 +17,11 @@ extern "C" { ...@@ -17,11 +17,11 @@ extern "C" {
#endif /* __cplusplus */ #endif /* __cplusplus */
#ifdef RT_USING_MUSLLIBC #ifdef RT_USING_MUSLLIBC
/* this is require for musl <signal.h> */ /* this is required for musl <signal.h> */
#ifndef _POSIX_SOURCE #ifndef _POSIX_SOURCE
#define _POSIX_SOURCE #define _POSIX_SOURCE
#include <signal.h> #include <signal.h>
/* limit influenced of _POSIX_SOURCE */ /* limiting influence of _POSIX_SOURCE */
#undef _POSIX_SOURCE #undef _POSIX_SOURCE
#else /* ndef _POSIX_SOURCE */ #else /* ndef _POSIX_SOURCE */
......
...@@ -207,6 +207,7 @@ void *rt_hw_mmu_map(rt_aspace_t aspace, void *v_addr, void *p_addr, size_t size, ...@@ -207,6 +207,7 @@ void *rt_hw_mmu_map(rt_aspace_t aspace, void *v_addr, void *p_addr, size_t size,
MM_PGTBL_LOCK(aspace); MM_PGTBL_LOCK(aspace);
_kenrel_unmap_4K(aspace->page_table, (void *)unmap_va); _kenrel_unmap_4K(aspace->page_table, (void *)unmap_va);
MM_PGTBL_UNLOCK(aspace); MM_PGTBL_UNLOCK(aspace);
unmap_va += ARCH_PAGE_SIZE;
} }
break; break;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册