Searched refs:tf_sstatus (Results 1 – 9 of 9) sorted by relevance
85 regs->sstatus = frame->tf_sstatus; in fill_regs()152 frame->tf_sstatus &= ~SSTATUS_FS_MASK; in set_fpregs()153 frame->tf_sstatus |= SSTATUS_FS_CLEAN; in set_fpregs()224 mcp->mc_gpregs.gp_sstatus = tf->tf_sstatus; in get_mcontext()245 if (((mcp->mc_gpregs.gp_sstatus ^ tf->tf_sstatus) & in set_mcontext()258 tf->tf_sstatus = mcp->mc_gpregs.gp_sstatus; in set_mcontext()299 td->td_frame->tf_sstatus &= ~SSTATUS_FS_MASK; in set_fpcontext()300 td->td_frame->tf_sstatus |= SSTATUS_FS_OFF; in set_fpcontext()311 td->td_frame->tf_sstatus |= SSTATUS_FS_CLEAN; in set_fpcontext()
52 case GDB_REG_SSTATUS: return (&kdb_frame->tf_sstatus); in gdb_cpu_getreg()97 case GDB_REG_SSTATUS: kdb_frame->tf_sstatus = regval; break; in gdb_cpu_setreg()
91 tf->tf_sstatus |= (SSTATUS_SPIE); /* Enable interrupts. */ in cpu_fork() 92 tf->tf_sstatus &= ~(SSTATUS_SPP); /* User mode. */ in cpu_fork()
188 printf("sstatus: 0x%016lx\n", frame->tf_sstatus); in dump_regs()440 frame->tf_sstatus &= ~SSTATUS_FS_MASK; in do_trap_user()441 frame->tf_sstatus |= SSTATUS_FS_CLEAN; in do_trap_user()
97 { "sstatus", DB_OFFSET(tf_sstatus), db_frame },
101 ASSYM(TF_SSTATUS, offsetof(struct trapframe, tf_sstatus));
55 uint64_t tf_sstatus; member
43 #define TRAPF_USERMODE(tfp) (((tfp)->tf_sstatus & SSTATUS_SPP) == 0)
312 frame->tf_sstatus |= SSTATUS_SPIE; in kinst_invop()339 ks->status = frame->tf_sstatus; in kinst_invop()340 frame->tf_sstatus &= ~SSTATUS_SPIE; in kinst_invop()