On 6/20/26 21:20, Warner Losh wrote:
Add cpu_copy() function for thread creation support and make
init_task_state() non-static so it can be called from os-thread.c.
Move cpu_type to file scope so cpu_copy() can access it.
Signed-off-by: Stacey Son<[email protected]>
Assisted-by: Claude Opus 4.6 (1M context)
Reviewed-by: Pierrick Bouvier<[email protected]>
Signed-off-by: Warner Losh<[email protected]>
---
bsd-user/main.c | 32 ++++++++++++++++++++++++++++++--
bsd-user/qemu.h | 1 +
2 files changed, 31 insertions(+), 2 deletions(-)
Reviewed-by: Richard Henderson <[email protected]>
r~