Commit a27a6da
committed
extmod/zephyr_kernel: Add placeholder for z_init_cpu implementation.
The investigation identified that ports/zephyr calls z_init_cpu(0) in
prepare_multithreading() to initialize the idle thread, IRQ stack, and
CPU state. This is currently missing from extmod/zephyr_kernel.
However, z_init_cpu() requires idle thread and IRQ stack arrays from
Zephyr's kernel/init.c, which has unmet CONFIG dependencies for our
minimal threading-only build.
Add TODO comments documenting this missing initialization, with the
call commented out until dependencies can be resolved.
Signed-off-by: Andrew Leech <[email protected]>1 parent 6ec81dc commit a27a6da
2 files changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
58 | 61 | | |
59 | 62 | | |
60 | 63 | | |
| |||
88 | 91 | | |
89 | 92 | | |
90 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
91 | 97 | | |
92 | 98 | | |
93 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
0 commit comments