From owner-svn-src-all@FreeBSD.ORG Fri Mar 16 19:42:40 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 20F2A10656DB; Fri, 16 Mar 2012 19:42:40 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 0B5908FC18; Fri, 16 Mar 2012 19:42:40 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q2GJgd2F032062; Fri, 16 Mar 2012 19:42:39 GMT (envelope-from tijl@svn.freebsd.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q2GJgdPU032060; Fri, 16 Mar 2012 19:42:39 GMT (envelope-from tijl@svn.freebsd.org) Message-Id: <201203161942.q2GJgdPU032060@svn.freebsd.org> From: Tijl Coosemans Date: Fri, 16 Mar 2012 19:42:39 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r233043 - head/sys/i386/include X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2012 19:42:40 -0000 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 */