summaryrefslogtreecommitdiff
path: root/src/cpu.c
diff options
context:
space:
mode:
authorShell <[email protected]>2023-01-09 10:08:55 +0800
committerGitHub <[email protected]>2023-01-08 21:08:55 -0500
commit7450ef6c4d71f992444d27f4a26c16f813ed8e55 (patch)
tree1d9b450d85c2c048cae2410e97ef9edfc2868323 /src/cpu.c
parent7f9ccd3c809afa6b54f0d453f2edcc8367a6aeb8 (diff)
[rt-smart] kernel virtual memory management layer (#6809)
synchronize virtual memory system works. adding kernel virtual memory management layer for page-based MMU enabled architecture porting libcpu MMU codes porting lwp memory related codes
Diffstat (limited to 'src/cpu.c')
-rw-r--r--src/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu.c b/src/cpu.c
index ada3464a1d..79a820d39e 100644
--- a/src/cpu.c
+++ b/src/cpu.c
@@ -247,7 +247,7 @@ void rt_cpus_lock_status_restore(struct rt_thread *thread)
struct rt_cpu* pcpu = rt_cpu_self();
#if defined(ARCH_MM_MMU) && defined(RT_USING_SMART)
- lwp_mmu_switch(thread);
+ lwp_aspace_switch(thread);
#endif
pcpu->current_thread = thread;
if (!thread->cpus_lock_nest)