Searched refs:save_srr1 (Results 1 - 18 of 18) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | trap.c | 179 intr = (ssp->save_srr1 & MASK(MSR_EE)) != 0; /* Remember if we were enabled */ 183 if (!USER_MODE(ssp->save_srr1)) { 274 if (ssp->save_srr1 & MASK(SRR1_PRG_TRAP)) { 427 ssp->save_srr1 = (ssp->save_srr1 & 494 cpu_number(), trapno, dsisr, dar, ssp->save_srr0, ssp->save_srr1); 510 ssp->save_srr0, ssp->save_srr1); 553 if (ssp->save_srr1 & MASK(SRR1_PRG_FE)) { 563 else if (ssp->save_srr1 & MASK(SRR1_PRG_ILL_INS)) { 569 } else if ((unsigned int)ssp->save_srr1 [all...] |
H A D | db_machdep.h | 88 #define db_clear_single_step(regs) ((regs)->save_srr1 &= ~MASK(MSR_SE)) 89 #define db_set_single_step(regs) ((regs)->save_srr1 |= MASK(MSR_SE)) 121 (USER_MODE(regs->save_srr1))
|
H A D | status.c | 191 ts->srr1 = (unsigned int)sv->save_srr1; 263 xts->srr1 = sv->save_srr1; 512 ts->srr1 = (unsigned int)sv->save_srr1; 584 xts->srr1 = sv->save_srr1; 783 genuser->save_srr1 = MSR_PREPARE_FOR_IMPORT(genuser->save_srr1, ts->srr1); /* Set the bits we can change */ 785 genuser->save_srr1 |= MSR_EXPORT_MASK_SET; 787 genuser->save_srr1 &= ~(MASK(MSR_FP) | MASK(MSR_VEC)); /* Make sure we don't enable the floating point unit */ 790 genuser->save_srr1 |= (uint64_t)MASK32(MSR_SF) << 32; /* If 64-bit task, force 64-bit mode */ 792 genuser->save_srr1 [all...] |
H A D | Diagnostics.c | 325 srrwrk = save->save_srr1 >> 63; /* Save the old 64-bit bit */ 327 save->save_srr1 = (save->save_srr1 & 0x7FFFFFFFFFFFFFFFULL) | (save->save_r4 << 63); /* Set the requested mode */ 567 ss->save_srr0, ss->save_srr1, dsisr, dar);
|
H A D | interrupt.c | 134 etimer_intr(USER_MODE(ssp->save_srr1), ssp->save_srr0); /* Handle event timer */
|
H A D | pcb.c | 246 sv->save_srr1 = (uint64_t)MSR_EXPORT_MASK_SET; /* Set the default user MSR */ 247 if(task_has_64BitAddr(task)) sv->save_srr1 |= (uint64_t)MASK32(MSR_SF) << 32; /* If 64-bit task, force 64-bit mode */ 433 if (local_pcb->save_srr1 & MASK(MSR_PR)) { /* Is this a user savearea? */ 551 sv->save_srr1 = MSR_SUPERVISOR_INT_OFF;
|
H A D | PseudoKernel.c | 196 bttd->exceptionInfo.srr1 = (unsigned int)sv->save_srr1; /* Save the original MSR */ 197 sv->save_srr1 &= ~(MASK(MSR_BE)|MASK(MSR_SE)); /* Clear SE|BE bits in MSR */
|
H A D | model_dep.c | 470 (unsigned int)sv->save_srr0, (unsigned int)sv->save_srr1, (unsigned int)sv->save_dar, sv->save_dsisr, 473 if(!(sv->save_srr1 & MASK(MSR_PR))) { /* Are we in the kernel? */ 795 if (saved_state->save_srr1 & MASK(SRR1_PRG_TRAP)) { /* Trap instruction? */
|
H A D | savearea.h | 141 uint64_t save_srr1; member in struct:savearea
|
H A D | db_low_trace.c | 690 db_printf(" Norm %08X: %016llX %016llX - tot = %d\n", save, save->save_srr0, save->save_srr1, totsaves);
|
H A D | db_trace.c | 140 .valuep = &ddb_regs.save_srr1,
|
H A D | genassym.c | 1213 DECLARE("savesrr1", offsetof(struct savearea *, save_srr1));
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/ |
H A D | dtrace_subr_ppc.c | 123 if(!(sv->save_srr1 & 0x8000000000000000ULL)) sv->save_srr0 &= 0x00000000FFFFFFFF; /* Trim if in 32-bit mode */
|
H A D | fasttrap_isa.c | 180 if (sv->save_srr1 & 0x8000000000000000ULL) { 390 if(sv->save_srr1 & 0x8000000000000000ULL) { /* Are we running in 64-bit? */ 420 if(sv->save_srr1 & 0x8000000000000000ULL) addrmask = 0xFFFFFFFFFFFFFFFFULL; /* Set 64-bit addressing if enabled */ 641 if(!(sv->save_srr1 & 0x8000000000000000ULL)) npc &= 0x00000000FFFFFFFF; /* Wrap new PC if running 32-bit */ 674 if(!(sv->save_srr1 & 0x8000000000000000ULL)) ctr &= 0x00000000FFFFFFFF; /* Only look at the bottom 32 bits if 32-bit mode */
|
H A D | fbt_ppc.c | 249 #define IS_USER_TRAP(regs) USER_MODE((regs)->save_srr1)
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/ppc/ |
H A D | chud_thread_ppc.c | 102 ts->srr1 = (unsigned int)sv->save_srr1; 154 xts->srr1 = sv->save_srr1; 219 sv->save_srr1 = (uint64_t)ts->srr1; 267 sv->save_srr1 = xts->srr1; 474 supervisor = SUPERVISOR_MODE(sv->save_srr1); 619 supervisor = SUPERVISOR_MODE(sv->save_srr1);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/ppc/ |
H A D | kdp_machdep.c | 148 state->srr1 = (unsigned int)saved_state->save_srr1; 199 state->srr1 = saved_state->save_srr1; 282 saved_state->save_srr1 = state->srr1; 331 saved_state->save_srr1 = state->srr1; 595 if(saved_state->save_srr1 & (MASK(MSR_SE) | MASK(MSR_BE))) { /* Are we just stepping or continuing */ 627 printf("srr1(msr) = 0x%08B\n",state->save_srr1,
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/ |
H A D | profile_prvd.c | 213 if (USERMODE(sv->save_srr1)) { 269 if (USERMODE(sv->save_srr1)) {
|
Completed in 104 milliseconds