fpu.c (103409) | fpu.c (104094) |
---|---|
1/*- 2 * Copyright (c) 1990 William Jolitz. 3 * Copyright (c) 1991 The Regents of the University of California. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 18 unchanged lines hidden (view full) --- 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * from: @(#)npx.c 7.2 (Berkeley) 5/12/91 | 1/*- 2 * Copyright (c) 1990 William Jolitz. 3 * Copyright (c) 1991 The Regents of the University of California. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 18 unchanged lines hidden (view full) --- 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * from: @(#)npx.c 7.2 (Berkeley) 5/12/91 |
35 * $FreeBSD: head/sys/amd64/amd64/fpu.c 103409 2002-09-16 19:25:59Z mini $ | 35 * $FreeBSD: head/sys/amd64/amd64/fpu.c 104094 2002-09-28 17:15:38Z phk $ |
36 */ 37 38#include "opt_cpu.h" 39#include "opt_debug_npx.h" 40#include "opt_isa.h" 41#include "opt_math_emulate.h" 42#include "opt_npx.h" 43 --- 404 unchanged lines hidden (view full) --- 448 return (0); 449 450#endif /* SMP */ 451} 452 453/* 454 * Attach routine - announce which it is, and wire into system 455 */ | 36 */ 37 38#include "opt_cpu.h" 39#include "opt_debug_npx.h" 40#include "opt_isa.h" 41#include "opt_math_emulate.h" 42#include "opt_npx.h" 43 --- 404 unchanged lines hidden (view full) --- 448 return (0); 449 450#endif /* SMP */ 451} 452 453/* 454 * Attach routine - announce which it is, and wire into system 455 */ |
456int | 456static int |
457npx_attach(dev) 458 device_t dev; 459{ 460 int flags; 461 register_t s; 462 463 if (resource_int_value("npx", 0, "flags", &flags) != 0) 464 flags = 0; --- 676 unchanged lines hidden --- | 457npx_attach(dev) 458 device_t dev; 459{ 460 int flags; 461 register_t s; 462 463 if (resource_int_value("npx", 0, "flags", &flags) != 0) 464 flags = 0; --- 676 unchanged lines hidden --- |