-
Notifications
You must be signed in to change notification settings - Fork 7.8k
adsp: delegate creation of virtual memory regions to the application #93334
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
adsp: delegate creation of virtual memory regions to the application #93334
Conversation
7716449
to
e516076
Compare
e516076
to
6b1b27b
Compare
the push above - rebase ONLY |
6b1b27b
to
25788b5
Compare
twister check fails till #93939 is merged |
#93939 is merged twister problem after re-run:
trying again... |
same result it is rather not releated to the changes from the PR. |
this is probably an issue with CI not this PR, this will be fixed in the docker on next release based on the commit zephyrproject-rtos/docker-image@5c70689 but not sure when the next update of the docker will be but once it is in we shouldn't see the error |
ok, and how can we proceed now? @cgturner1 ? |
The failure is from ESP32 platforms and not from this PR. That is due to esptool not being installed in CI. So should be good to go. |
One thing though, could you prefix the commit summary with |
this commit removes creation of virtual memory regions from Zephyr, allowing the application to create required regions It is up the application to use virtual memory as needed, zephyr however is keeping the table and ensures no memory addresses overlaps Signed-off-by: Marcin Szkudlinski <[email protected]>
this marker is an address of the very first byte not used by the linker, with alignment to cacheline Signed-off-by: Marcin Szkudlinski <[email protected]>
the commit adds sys_mm_drv_map_page_safe and sys_mm_drv_map_region_safe functions, wrappers for sys_mm_drv_map_region and sys_mm_drv_map_region, with additional check if a mapped region fits into given memory range Using of those prevents collisions and/or hijacking of virtual memory Signed-off-by: Marcin Szkudlinski <[email protected]>
25788b5
to
83bfe5a
Compare
prefixes changed to mm: |
|
this PR removes creation of virtual memory regions from
Zephyr, allowing the application to create required regions
It is up the application to use virtual memory as needed,
zephyr however is keeping the table and ensures no memory
addresses overlaps