diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2025-07-28 13:33:18 -1000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-08-28 06:39:25 +1000 |
| commit | e17cc00f7195f387720cd839dcb83fd17c2147c9 (patch) | |
| tree | a1fb9e78a1ee7867244b7e89e9f79e703891aa08 /linux-user/openrisc/cpu_loop.c | |
| parent | a2c83f5156324b88cf5c92ed777648fc1aaccf7f (diff) | |
| download | focaccia-qemu-e17cc00f7195f387720cd839dcb83fd17c2147c9.tar.gz focaccia-qemu-e17cc00f7195f387720cd839dcb83fd17c2147c9.zip | |
linux-user/mips: Create init_main_thread
Merge init_thread and target_cpu_copy_regs. There's no point going through a target_pt_regs intermediate. Note that init_thread had set cp0_status in target_pt_regs, but target_cpu_copy_regs did not copy to env. This turns out to be ok because mips_cpu_reset_hold initializes CP0_Status properly. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/openrisc/cpu_loop.c')
0 files changed, 0 insertions, 0 deletions