Commit 259de26
committed
userspace: proxy: Add partition for k_heap struct
Add a memory partition for the module driver heap k_heap structure to the
module's memory domain to allow it to be referenced by syscalls. When a new
memory domain is created, only L2 entries mapped with OPTION_SAVE_ATTRS are
copied. Memory mapped dynamically during firmware execution is not
accessible in new memory domains by default.
Update the code to reflect the removal of memory double mapping in Zephyr
by replacing the CONFIG_XTENSA_MMU_DOUBLE_MAP with a simple
CONFIG_SOF_ZEPHYR_HEAP_CACHED check.
Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>1 parent 7fa81f8 commit 259de26
File tree
2 files changed
+21
-6
lines changed- src/audio/module_adapter/library
- zephyr/lib
2 files changed
+21
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
280 | | - | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
281 | 297 | | |
282 | 298 | | |
283 | 299 | | |
| |||
296 | 312 | | |
297 | 313 | | |
298 | 314 | | |
299 | | - | |
| 315 | + | |
300 | 316 | | |
301 | 317 | | |
302 | | - | |
| 318 | + | |
| 319 | + | |
303 | 320 | | |
304 | 321 | | |
305 | 322 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
| |||
0 commit comments