[fix] typo

This commit is contained in:
wangxiaoyao 2023-02-20 16:38:46 +08:00 committed by guo
parent 26891e9117
commit 1c2daeafdc
2 changed files with 3 additions and 2 deletions

View File

@ -17,11 +17,11 @@ extern "C" {
#endif /* __cplusplus */
#ifdef RT_USING_MUSLLIBC
/* this is require for musl <signal.h> */
/* this is required for musl <signal.h> */
#ifndef _POSIX_SOURCE
#define _POSIX_SOURCE
#include <signal.h>
/* limit influenced of _POSIX_SOURCE */
/* limiting influence of _POSIX_SOURCE */
#undef _POSIX_SOURCE
#else /* ndef _POSIX_SOURCE */

View File

@ -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);
_kenrel_unmap_4K(aspace->page_table, (void *)unmap_va);
MM_PGTBL_UNLOCK(aspace);
unmap_va += ARCH_PAGE_SIZE;
}
break;
}