Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Apr 2003 15:19:52 -0700 (PDT)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 28566 for review
Message-ID:  <200304082219.h38MJqqR096196@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=28566

Change 28566 by marcel@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);
 }
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304082219.h38MJqqR096196>