Date: Tue, 10 Jul 2012 01:50:11 GMT From: dfilter@FreeBSD.ORG (dfilter service) To: freebsd-i386@FreeBSD.org Subject: Re: i386/169730: commit references a PR Message-ID: <201207100150.q6A1oBir000451@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR i386/169730; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: i386/169730: commit references a PR Date: Tue, 10 Jul 2012 01:47:23 +0000 (UTC) Author: davidxu Date: Tue Jul 10 01:47:11 2012 New Revision: 238328 URL: http://svn.freebsd.org/changeset/base/238328 Log: Executing CPUID with EAX set to 1 to actually get feature flags. PR: 169730 Modified: head/lib/libc/i386/gen/getcontextx.c Modified: head/lib/libc/i386/gen/getcontextx.c ============================================================================== --- head/lib/libc/i386/gen/getcontextx.c Tue Jul 10 01:32:52 2012 (r238327) +++ head/lib/libc/i386/gen/getcontextx.c Tue Jul 10 01:47:11 2012 (r238328) @@ -68,7 +68,7 @@ __getcontextx_size(void) " movl %%ebx,%1\n" " popl %%ebx\n" : "=a" (p[0]), "=r" (p[1]), "=c" (p[2]), "=d" (p[3]) - : "0" (0x0)); + : "0" (0x1)); if ((p[2] & CPUID2_OSXSAVE) != 0) { __asm __volatile( " pushl %%ebx\n" _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207100150.q6A1oBir000451>