- tmpmcodeptr = (u1 *) (cd->mcodebase + pr->mpc);
-
- pr->mcode = *((u4 *) tmpmcodeptr);
-
- /* Patch in the trap to call the signal handler (done at
- compile time). */
-
- savedmcodeptr = cd->mcodeptr; /* save current mcodeptr */
- cd->mcodeptr = tmpmcodeptr; /* set mcodeptr to patch position */
-
- M_ALD_INTERN(REG_ZERO, REG_ZERO, EXCEPTION_HARDWARE_PATCHER);
-
- cd->mcodeptr = savedmcodeptr; /* restore the current mcodeptr */
- }