npx.h (5350) | npx.h (10092) |
---|---|
1/*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * William Jolitz. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * from: @(#)npx.h 5.3 (Berkeley) 1/18/91 | 1/*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * William Jolitz. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * from: @(#)npx.h 5.3 (Berkeley) 1/18/91 |
37 * $Id: npx.h,v 1.6 1994/11/05 22:59:09 bde Exp $ | 37 * $Id: npx.h,v 1.7 1995/01/03 03:57:46 bde Exp $ |
38 */ 39 40/* 41 * 287/387 NPX Coprocessor Data Structures and Constants 42 * W. Jolitz 1/90 43 */ 44 45#ifndef _MACHINE_NPX_H_ --- 34 unchanged lines hidden (view full) --- 80 * before it is inspected for ptracing or for core dumps. Some 81 * emulators overwrite the whole struct. We have no good way of 82 * knowing how much padding to leave. Leave just enough for the 83 * GPL emulator's i387_union (176 bytes total). 84 */ 85 u_char sv_pad[64]; /* padding; used by emulators */ 86}; 87 | 38 */ 39 40/* 41 * 287/387 NPX Coprocessor Data Structures and Constants 42 * W. Jolitz 1/90 43 */ 44 45#ifndef _MACHINE_NPX_H_ --- 34 unchanged lines hidden (view full) --- 80 * before it is inspected for ptracing or for core dumps. Some 81 * emulators overwrite the whole struct. We have no good way of 82 * knowing how much padding to leave. Leave just enough for the 83 * GPL emulator's i387_union (176 bytes total). 84 */ 85 u_char sv_pad[64]; /* padding; used by emulators */ 86}; 87 |
88/* Cyrix EMC memory - mapped coprocessor context switch information */ 89struct emcsts { 90 long em_msw; /* memory mapped status register when swtched */ 91 long em_tar; /* memory mapped temp A register when swtched */ 92 long em_dl; /* memory mapped D low register when swtched */ 93}; 94 | |
95/* Intel prefers long real (53 bit) precision */ 96#define __iBCS_NPXCW__ 0x262 97/* wfj prefers temporary real (64 bit) precision */ 98#define __386BSD_NPXCW__ 0x362 99/* 100 * bde prefers 53 bit precision and all exceptions masked. 101 * 102 * The standard control word from finit is 0x37F, giving: --- 55 unchanged lines hidden --- | 88/* Intel prefers long real (53 bit) precision */ 89#define __iBCS_NPXCW__ 0x262 90/* wfj prefers temporary real (64 bit) precision */ 91#define __386BSD_NPXCW__ 0x362 92/* 93 * bde prefers 53 bit precision and all exceptions masked. 94 * 95 * The standard control word from finit is 0x37F, giving: --- 55 unchanged lines hidden --- |