Commit 5361a57
committed
dp: thread: Remove user_memory_init_shared()
Remove the no longer needed user_memory_init_shared(). Add the dp thread to
the memory domain directly in the dp scheduler.
The function originally added the common partition to the memory domain and
added thread to that domain. The userspace proxy now adds the common
partition to memory domain, so the function cannot perform this step.
Grant access to thread only when userspace is used. Kernel threads have
access to all the memory, no need to additionally grant access to them.
user_memory_init_shared1 parent e32e702 commit 5361a57
3 files changed
Lines changed: 6 additions & 29 deletions
File tree
- src/schedule
- zephyr
- include/rtos
- lib
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
277 | 278 | | |
278 | 279 | | |
279 | 280 | | |
280 | | - | |
281 | | - | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
282 | 284 | | |
283 | | - | |
284 | | - | |
| 285 | + | |
285 | 286 | | |
286 | | - | |
| 287 | + | |
287 | 288 | | |
288 | 289 | | |
289 | 290 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 45 | | |
58 | 46 | | |
59 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | 80 | | |
93 | 81 | | |
94 | 82 | | |
| |||
0 commit comments