mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 05:35:32 +00:00
target/sparc/win_helper: Perform comparison pass against qemu
Ensure code and formatting are consistent with qemu
This commit is contained in:
parent
0215431990
commit
83b35aa797
|
@ -71,7 +71,6 @@ void cpu_put_psr_raw(CPUSPARCState *env, target_ulong val)
|
|||
#if !defined(TARGET_SPARC64)
|
||||
env->psref = (val & PSR_EF) ? 1 : 0;
|
||||
env->psrpil = (val & PSR_PIL) >> 8;
|
||||
|
||||
env->psrs = (val & PSR_S) ? 1 : 0;
|
||||
env->psrps = (val & PSR_PS) ? 1 : 0;
|
||||
env->psret = (val & PSR_ET) ? 1 : 0;
|
||||
|
@ -82,6 +81,7 @@ void cpu_put_psr_raw(CPUSPARCState *env, target_ulong val)
|
|||
#endif
|
||||
}
|
||||
|
||||
/* Called with BQL held */
|
||||
void cpu_put_psr(CPUSPARCState *env, target_ulong val)
|
||||
{
|
||||
cpu_put_psr_raw(env, val);
|
||||
|
|
Loading…
Reference in a new issue