Re: svn commit: r238328 - head/lib/libc/i386/gen

2012-07-10 Thread Konstantin Belousov
On Tue, Jul 10, 2012 at 01:47:12AM +, David Xu wrote:
 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

Please, merge this before next 9.1 RC is out.


pgp1Hfsoh0Vb1.pgp
Description: PGP signature


svn commit: r238328 - head/lib/libc/i386/gen

2012-07-09 Thread David Xu
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.cTue Jul 10 01:32:52 2012
(r238327)
+++ head/lib/libc/i386/gen/getcontextx.cTue 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-unsubscr...@freebsd.org