On 5/18/2026 2:27 PM, 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]> > Signed-off-by: Warner Losh <[email protected]> > Assisted-by: Claude Opus 4.6 (1M context) > --- > bsd-user/main.c | 32 ++++++++++++++++++++++++++++++-- > bsd-user/qemu.h | 1 + > 2 files changed, 31 insertions(+), 2 deletions(-) >
Reviewed-by: Pierrick Bouvier <[email protected]>
