mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-23 20:02:33 +08:00
[rt-smart] fix competition on aspace (#7064)
* [mm] mmu operations should be wrapped by _aspace_bst_insert & _aspace_bst_remove to avoid competition on page table * [lwp] may not return null on failed
This commit is contained in:
@@ -362,8 +362,12 @@ void *lwp_map_user_phy(struct rt_lwp *lwp, void *map_va, void *map_pa,
|
||||
va = RT_NULL;
|
||||
LOG_W("%s", __func__);
|
||||
}
|
||||
else
|
||||
{
|
||||
va += offset;
|
||||
}
|
||||
|
||||
return va + offset;
|
||||
return va;
|
||||
}
|
||||
|
||||
rt_base_t lwp_brk(void *addr)
|
||||
|
||||
Reference in New Issue
Block a user