Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arm_addrenv:fix app crash when enable shm in kernel mode #13505

Merged
merged 1 commit into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion arch/arm/src/armv7-a/arm_addrenv.c
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ int up_addrenv_select(const arch_addrenv_t *addrenv)
}
else
{
binfo("data: clear l1 (vaddr=%x)\n", vaddr);
binfo("heap: clear l1 (vaddr=%x)\n", vaddr);
mmu_l1_clrentry(vaddr);
}
}
Expand Down
1 change: 1 addition & 0 deletions arch/arm/src/armv7-a/arm_addrenv_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ void arm_addrenv_destroy_region(uintptr_t **list, unsigned int listlen,
/* And free the L2 page table itself */

mm_pgfree((uintptr_t)list[i], 1);
list[i] = NULL;
}
}
}
Expand Down
Loading