[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 13/24] bsd-user/arm/target_arch_thread.h: Routines to create
Re: [PATCH 13/24] bsd-user/arm/target_arch_thread.h: Routines to create and switch to a thread
Fri, 29 Oct 2021 09:06:51 -0700
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0
On 10/28/21 12:45 PM, Warner Losh wrote:
(2) Changes to CPSR cannot be made manually; you need cpsr_write.
+ cpsr_write(env, cpsr_read(env) | CPSR_T, CPSR_T, CPSRWriteByInstr);
cover what's needed here?
You can use
cpsr_write(env, CPSR_T, CPSR_T, CPSRWriteByInstr);
because the mask takes care of not changing other bits.
[PATCH 14/24] bsd-user/arm/target_arch_elf.h: arm defines for ELF, Warner Losh, 2021/10/19
[PATCH 15/24] bsd-user/arm/target_arch_elf.h: arm get hwcap, Warner Losh, 2021/10/19
[PATCH 17/24] bsd-user/arm/target_arch_signal.h: arm specific signal registers and stack, Warner Losh, 2021/10/19