-#if defined(i386)
- locr0[PC] = (int)uap->addr;
-#elif defined(ppc)
-#define ALIGNED(addr,size) (((unsigned)(addr)&((size)-1))==0)
- if (!ALIGNED((int)uap->addr, sizeof(int)))
- return (ERESTART);
-
- statep.srr0 = uap->addr;
- state_count = PPC_THREAD_STATE64_COUNT;
- if (thread_setstatus(th_act, PPC_THREAD_STATE64, (thread_state_t)&statep, state_count) != KERN_SUCCESS) {
- goto errorLabel;
- }
-#undef ALIGNED
-#else
-#error architecture not implemented!
-#endif
- } /* uap->addr != (user_addr_t)1 */