mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-25 16:57:20 +00:00
[rt-smart] 弱化 RT_USING_LWP,使用 RT_USING_SMART 作为宏配置 (#6740)
* [dfs] sync cromfs * [rt-smart]Weaken RT_USING_LWP, use RT_USING_SMART as macro configuration * [format] fix some format issue.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
#include <rtthread.h>
|
||||
#include <rthw.h>
|
||||
|
||||
#ifdef RT_USING_USERSPACE
|
||||
#ifdef ARCH_MM_MMU
|
||||
|
||||
#include <mmu.h>
|
||||
#include <page.h>
|
||||
@@ -390,7 +390,7 @@ void* lwp_mmap2(void *addr, size_t length, int prot,
|
||||
if (d && d->vnode->type == FT_DEVICE)
|
||||
{
|
||||
struct dfs_mmap2_args mmap2;
|
||||
|
||||
|
||||
mmap2.addr = addr;
|
||||
mmap2.length = length;
|
||||
mmap2.prot = prot;
|
||||
|
||||
Reference in New Issue
Block a user