/openbsd/sys/arch/powerpc64/powerpc64/ |
H A D | process_machdep.c | 42 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 D | trap.c | 91 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 D | db_trace.c | 83 { "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 D | vm_machdep.c | 80 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 D | fpu.c | 116 KASSERT(tf->srr1 & PSL_FP); in fpu_sigcode() 117 tf->srr1 &= ~(PSL_FPU|PSL_VEC|PSL_VSX); in fpu_sigcode()
|
H A D | machdep.c | 907 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 D | genassym.cf | 101 member srr1
|
/openbsd/sys/arch/powerpc/powerpc/ |
H A D | process_machdep.c | 64 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 D | trap.c | 244 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 D | fpu.c | 98 tf->srr1 |= PSL_FP; in enable_fpu() 162 tf->srr1 &= ~PSL_FP; in save_fpu()
|
/openbsd/sys/arch/powerpc64/include/ |
H A D | db_machdep.h | 53 #define db_clear_single_step(regs) ((regs)->srr1 &= ~PSL_SE) 54 #define db_set_single_step(regs) ((regs)->srr1 |= PSL_SE)
|
H A D | frame.h | 53 __register_t srr1; member
|
H A D | cpu.h | 166 #define CLKF_USERMODE(frame) (frame->srr1 & PSL_PR)
|
/openbsd/sys/arch/powerpc/include/ |
H A D | db_machdep.h | 53 #define db_clear_single_step(regs) ((regs)->srr1 &= ~PSL_SE) 54 #define db_set_single_step(regs) ((regs)->srr1 |= PSL_SE)
|
H A D | signal.h | 60 int srr1; member
|
H A D | frame.h | 52 register_t srr1; member
|
H A D | cpu.h | 156 #define CLKF_USERMODE(frame) (((frame)->srr1 & PSL_PR) != 0) 284 FUNC_SPR(27, srr1)
|
/openbsd/gnu/gcc/gcc/config/rs6000/ |
H A D | darwin-fallback.c | 271 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 D | machdep.c | 436 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 D | genassym.cf | 52 member srr1
|
/openbsd/sys/arch/powerpc/ddb/ |
H A D | db_interface.c | 76 if (!(frame->srr1 & PSL_PR) in db_trap_glue() 78 || (frame->exc == EXC_PGM && (frame->srr1 & 0x20000)) in db_trap_glue()
|
H A D | db_trace.c | 89 { "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 D | lynx-nat.c | 249 X (srr1), /* MSR (PS) */
|
H A D | rs6000-tdep.c | 2340 /* 112 */ S(srr0), S(srr1), S(tbl), S(tbu), \
|
/openbsd/gnu/llvm/llvm/include/llvm/BinaryFormat/ |
H A D | MachO.h | 2023 uint32_t srr1; member 2066 sys::swapByteOrder(x.srr1); in swapStruct()
|