PERFORCE change 29176 for review

Marcel Moolenaar marcel at FreeBSD.org
Thu Apr 17 21:27:21 PDT 2003


http://perforce.freebsd.org/chv.cgi?CH=29176

Change 29176 by marcel at marcel_nfs on 2003/04/17 21:26:35

	Manually set psr.cpl to 3 (=user) when constructing the
	syscall frame. This allows us to check these bits to
	determine whether we're going to return to user space or
	not. Note that the mov-to-psr ignores psr.cpl and the
	mov-from-psr zeroes it.

Affected files ...

.. //depot/projects/ia64_epc/sys/ia64/ia64/syscall.s#7 edit

Differences ...

==== //depot/projects/ia64_epc/sys/ia64/ia64/syscall.s#7 (text+ko) ====

@@ -169,7 +169,7 @@
 {	.mmi
 	st8		[r30]=r17,16		// tp
 	st8		[r31]=r16,16		// rsc
-	nop		0
+	dep		r11=-1,r11,32,2		// Set psr.cpl=3
 	;;
 }
 {	.mmi


More information about the p4-projects mailing list