Date: Thu, 17 Apr 2003 21:27:19 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 29176 for review Message-ID: <200304180427.h3I4RJWt020303@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=29176 Change 29176 by marcel@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304180427.h3I4RJWt020303>