PERFORCE change 28566 for review
    Marcel Moolenaar 
    marcel at FreeBSD.org
       
    Tue Apr  8 15:19:54 PDT 2003
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=28566
Change 28566 by marcel at marcel_nfs on 2003/04/08 15:19:18
	We never save and restore iip when doing context switches
	(neither kernel nor userland). Set rp to the new threads
	entry point.
Affected files ...
.. //depot/projects/ia64_epc/sys/ia64/ia64/vm_machdep.c#5 edit
Differences ...
==== //depot/projects/ia64_epc/sys/ia64/ia64/vm_machdep.c#5 (text+ko) ====
@@ -293,7 +293,7 @@
 	td2->td_pcb->pcb_preserved.gr4 = (u_int64_t)fork_return;
 	td2->td_pcb->pcb_preserved.gr5 = FDESC_FUNC(exception_restore);
 	td2->td_pcb->pcb_preserved.gr6 = (u_int64_t)td2;
-	td2->td_pcb->pcb_special.iip = FDESC_FUNC(fork_trampoline);
+	td2->td_pcb->pcb_special.rp = FDESC_FUNC(fork_trampoline);
 }
 
 /*
    
    
More information about the p4-projects
mailing list