summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/npx.h
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2012-03-16 19:42:39 +0000
committertijl <tijl@FreeBSD.org>2012-03-16 19:42:39 +0000
commit9d9a56e6efa88f739b0da929f728b3510a1b9ea6 (patch)
treec788583c7760fe0426d6a28607f5f25559f3e8a5 /sys/i386/include/npx.h
parent6893e74dc06fa35c6469f1980df4f72a7ea65a25 (diff)
downloadFreeBSD-src-9d9a56e6efa88f739b0da929f728b3510a1b9ea6.zip
FreeBSD-src-9d9a56e6efa88f739b0da929f728b3510a1b9ea6.tar.gz
Use exact width integer types instead of long in struct env87 in
preparation to merge with amd64. Reviewed by: kib
Diffstat (limited to 'sys/i386/include/npx.h')
-rw-r--r--sys/i386/include/npx.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/i386/include/npx.h b/sys/i386/include/npx.h
index 932ba67..bfecd56 100644
--- a/sys/i386/include/npx.h
+++ b/sys/i386/include/npx.h
@@ -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 */
OpenPOWER on IntegriCloud