Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2012 19:42:39 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r233043 - head/sys/i386/include
Message-ID:  <201203161942.q2GJgdPU032060@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Fri Mar 16 19:42:39 2012
New Revision: 233043
URL: http://svn.freebsd.org/changeset/base/233043

Log:
  Use exact width integer types instead of long in struct env87 in
  preparation to merge with amd64.
  
  Reviewed by:	kib

Modified:
  head/sys/i386/include/npx.h

Modified: head/sys/i386/include/npx.h
==============================================================================
--- head/sys/i386/include/npx.h	Fri Mar 16 19:22:29 2012	(r233042)
+++ head/sys/i386/include/npx.h	Fri Mar 16 19:42:39 2012	(r233043)
@@ -43,14 +43,14 @@
 
 /* Environment information of floating point unit */
 struct env87 {
-	long	en_cw;		/* control word (16bits) */
-	long	en_sw;		/* status word (16bits) */
-	long	en_tw;		/* tag word (16bits) */
-	long	en_fip;		/* floating point instruction pointer */
-	u_short	en_fcs;		/* floating code segment selector */
-	u_short	en_opcode;	/* opcode last executed (11 bits ) */
-	long	en_foo;		/* floating operand offset */
-	long	en_fos;		/* floating operand segment selector */
+	int32_t		en_cw;		/* control word (16bits) */
+	int32_t		en_sw;		/* status word (16bits) */
+	int32_t		en_tw;		/* tag word (16bits) */
+	int32_t		en_fip;		/* fp instruction pointer */
+	uint16_t	en_fcs;		/* fp code segment selector */
+	uint16_t	en_opcode;	/* opcode last executed (11 bits ) */
+	int32_t		en_foo;		/* fp operand offset */
+	int32_t		en_fos;		/* fp operand segment selector */
 };
 
 /* Contents of each floating point accumulator */



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