|
| From: | Richard Henderson |
| Subject: | Re: [PATCH 03/17] bsd-user: Make cpu_model and cpu_type file scope |
| Date: | Sun, 4 Aug 2024 17:22:29 +1000 |
| User-agent: | Mozilla Thunderbird |
On 8/3/24 09:56, Warner Losh wrote:
linux-user already does this since 2278b93941d4. That same commit just added them with main() scope to bsd-user. We need the cpu_type, like linux-user does, to create new CPUs outside of main to support threading. Move both cpu_model and cpu_type to mirror linux-user/main.c. Signed-off-by: Warner Losh<imp@bsdimp.com> --- bsd-user/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
| [Prev in Thread] | Current Thread | [Next in Thread] |