svn commit: r233043 - head/sys/i386/include
Tijl Coosemans
tijl at FreeBSD.org
Fri Mar 16 19:42:40 UTC 2012
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 */
More information about the svn-src-all
mailing list