Home
last modified time | relevance | path

Searched refs:srr1 (Results 1 – 25 of 25) sorted by relevance

/openbsd/sys/arch/powerpc64/powerpc64/
H A Dprocess_machdep.c42 regs->r_ps = tf->srr1; in process_read_regs()
53 if (tf->srr1 & (PSL_FPU|PSL_VEC|PSL_VSX)) { in process_read_fpregs()
54 tf->srr1 &= ~(PSL_FPU|PSL_VEC|PSL_VSX); in process_read_fpregs()
89 tf->srr1 |= PSL_SE; in process_sstep()
91 tf->srr1 &= ~PSL_SE; in process_sstep()
102 regs->r_ps |= (tf->srr1 & (PSL_FPU|PSL_VEC|PSL_VSX)); in process_write_regs()
104 if (regs->r_ps != tf->srr1) in process_write_regs()
114 tf->srr1 = regs->r_ps; in process_write_regs()
125 tf->srr1 &= ~(PSL_FPU|PSL_VEC|PSL_VSX); in process_write_fpregs()
H A Dtrap.c91 if (frame->srr1 & PSL_EE) in trap()
94 if (frame->srr1 & PSL_PR) { in trap()
104 if (frame->srr1 & EXC_PGM_TRAP) { in trap()
354 if (frame->srr1 & EXC_PGM_FPENABLED) in trap()
356 else if (frame->srr1 & EXC_PGM_TRAP) in trap()
366 frame->srr1 |= PSL_FPU; in trap()
383 frame->srr1 |= PSL_VEC; in trap()
390 frame->srr1 |= PSL_VSX; in trap()
402 type, frame->srr1, frame->srr0, frame->lr); in trap()
406 type, frame->srr1, frame->srr0, frame->lr); in trap()
[all …]
H A Ddb_trace.c83 { "msr", (long *)&ddb_regs.srr1, FCN_NULL },
164 if ((frame->srr1 & PSL_PR) && frame->exc == EXC_SC) { in db_stack_trace_print()
172 if (frame->srr1 & PSL_PR) in db_stack_trace_print()
H A Dvm_machdep.c80 p1->p_md.md_regs->srr1 & (PSL_FPU|PSL_VEC|PSL_VSX)) { in cpu_fork()
81 p1->p_md.md_regs->srr1 &= ~(PSL_FPU|PSL_VEC|PSL_VSX); in cpu_fork()
H A Dfpu.c116 KASSERT(tf->srr1 & PSL_FP); in fpu_sigcode()
117 tf->srr1 &= ~(PSL_FPU|PSL_VEC|PSL_VSX); in fpu_sigcode()
H A Dmachdep.c907 frame->srr1 = PSL_USER; in setregs()
937 tf->srr1 & (PSL_FPU|PSL_VEC|PSL_VSX)) { in sendsig()
938 tf->srr1 &= ~(PSL_FPU|PSL_VEC|PSL_VSX); in sendsig()
1033 tf->srr1 = ksc.sc_ps; in sys_sigreturn()
1071 tf->srr1 & (PSL_FPU|PSL_VEC|PSL_VSX)) { in cpu_switchto()
1072 tf->srr1 &= ~(PSL_FPU|PSL_VEC|PSL_VSX); in cpu_switchto()
H A Dgenassym.cf101 member srr1
/openbsd/sys/arch/powerpc/powerpc/
H A Dprocess_machdep.c64 regs->ps = tf->srr1; /* is this the correct value for this ? */ in process_read_regs()
114 tf->srr1 |= PSL_SE; in process_sstep()
116 tf->srr1 &= ~PSL_SE; in process_sstep()
127 if ((regs->ps ^ tf->srr1) & PSL_USERSTATIC) in process_write_regs()
145 tf->srr1 = regs->ps; /* is this the correct value for this ? */ in process_write_regs()
H A Dtrap.c244 if (frame->srr1 & PSL_PR) { in trap()
439 type, frame->srr1, frame->srr0, name, offset, frame->lr); in trap()
442 if (frame->srr1 & (1<<(31-14))) { in trap()
509 frame->srr1 &= ~PSL_FP; in trap()
511 frame->srr1 |= PSL_FP; in trap()
518 frame->srr1 |= PSL_VEC; in trap()
520 frame->srr1 &= ~PSL_VEC; in trap()
534 tf->srr1 &= ~(PSL_FP|PSL_VEC); in child_return()
H A Dfpu.c98 tf->srr1 |= PSL_FP; in enable_fpu()
162 tf->srr1 &= ~PSL_FP; in save_fpu()
/openbsd/sys/arch/powerpc64/include/
H A Ddb_machdep.h53 #define db_clear_single_step(regs) ((regs)->srr1 &= ~PSL_SE)
54 #define db_set_single_step(regs) ((regs)->srr1 |= PSL_SE)
H A Dframe.h53 __register_t srr1; member
H A Dcpu.h166 #define CLKF_USERMODE(frame) (frame->srr1 & PSL_PR)
/openbsd/sys/arch/powerpc/include/
H A Ddb_machdep.h53 #define db_clear_single_step(regs) ((regs)->srr1 &= ~PSL_SE)
54 #define db_set_single_step(regs) ((regs)->srr1 |= PSL_SE)
H A Dsignal.h60 int srr1; member
H A Dframe.h52 register_t srr1; member
H A Dcpu.h156 #define CLKF_USERMODE(frame) (((frame)->srr1 & PSL_PR) != 0)
284 FUNC_SPR(27, srr1)
/openbsd/gnu/gcc/gcc/config/rs6000/
H A Ddarwin-fallback.c271 uint32_t srr1; member
294 uint64_t srr1; member
389 || (m64->exception == 7 && !(m64->srr1 & 0x10000))) in handle_syscall()
418 || (m->exception == 7 && !(m->srr1 & 0x10000))) in handle_syscall()
/openbsd/sys/arch/macppc/macppc/
H A Dmachdep.c436 tf->srr1 = PSL_MBO | PSL_USERSET | PSL_FE_DFLT; in setregs()
525 ksc.sc_frame.srr1 &= ~PSL_VEC; in sys_sigreturn()
526 ksc.sc_frame.srr1 |= (tf->srr1 & PSL_VEC); in sys_sigreturn()
527 if ((ksc.sc_frame.srr1 & PSL_USERSTATIC) != (tf->srr1 & PSL_USERSTATIC)) in sys_sigreturn()
H A Dgenassym.cf52 member srr1
/openbsd/sys/arch/powerpc/ddb/
H A Ddb_interface.c76 if (!(frame->srr1 & PSL_PR) in db_trap_glue()
78 || (frame->exc == EXC_PGM && (frame->srr1 & 0x20000)) in db_trap_glue()
H A Ddb_trace.c89 { "msr", (long *)&ddb_regs.srr1, FCN_NULL },
207 if (tf->srr1 & PSL_PR) in db_stack_trace_print()
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dlynx-nat.c249 X (srr1), /* MSR (PS) */
H A Drs6000-tdep.c2340 /* 112 */ S(srr0), S(srr1), S(tbl), S(tbu), \
/openbsd/gnu/llvm/llvm/include/llvm/BinaryFormat/
H A DMachO.h2023 uint32_t srr1; member
2066 sys::swapByteOrder(x.srr1); in swapStruct()