- if (offset == 0) {
- /* KLUDGE: I'm not sure, but it's possible that Linux puts the
- contents of the Processor Status Word in the (wired-zero)
- slot in the mcontext. In any case, the following is
- unlikely to do any harm: */
- static unsigned long long zero;
- zero = 0;
- return &zero;
- } else {
- return &(((struct sigcontext *) &(context->uc_mcontext))->sc_regs[offset]);
- }