Deleted Added
full compact
npx.h (267767) npx.h (270850)
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

--- 16 unchanged lines hidden (view full) ---

25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * 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

--- 16 unchanged lines hidden (view full) ---

25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * from: @(#)npx.h 5.3 (Berkeley) 1/18/91
33 * $FreeBSD: head/sys/i386/include/npx.h 267767 2014-06-23 07:37:54Z kib $
33 * $FreeBSD: head/sys/i386/include/npx.h 270850 2014-08-30 17:48:38Z jhb $
34 */
35
36/*
37 * 287/387 NPX Coprocessor Data Structures and Constants
38 * W. Jolitz 1/90
39 */
40
41#ifndef _MACHINE_NPX_H_

--- 6 unchanged lines hidden (view full) ---

48#define PCB_USER_FPU(pcb) (((pcb)->pcb_flags & PCB_KERNNPX) == 0)
49
50int npxdna(void);
51void npxdrop(void);
52void npxexit(struct thread *td);
53int npxformat(void);
54int npxgetregs(struct thread *td);
55void npxinit(void);
34 */
35
36/*
37 * 287/387 NPX Coprocessor Data Structures and Constants
38 * W. Jolitz 1/90
39 */
40
41#ifndef _MACHINE_NPX_H_

--- 6 unchanged lines hidden (view full) ---

48#define PCB_USER_FPU(pcb) (((pcb)->pcb_flags & PCB_KERNNPX) == 0)
49
50int npxdna(void);
51void npxdrop(void);
52void npxexit(struct thread *td);
53int npxformat(void);
54int npxgetregs(struct thread *td);
55void npxinit(void);
56void npxresume(union savefpu *addr);
56void npxsave(union savefpu *addr);
57void npxsetregs(struct thread *td, union savefpu *addr);
57void npxsave(union savefpu *addr);
58void npxsetregs(struct thread *td, union savefpu *addr);
59void npxsuspend(union savefpu *addr);
58int npxtrap_x87(void);
59int npxtrap_sse(void);
60void npxuserinited(struct thread *);
61struct fpu_kern_ctx *fpu_kern_alloc_ctx(u_int flags);
62void fpu_kern_free_ctx(struct fpu_kern_ctx *ctx);
63int fpu_kern_enter(struct thread *td, struct fpu_kern_ctx *ctx,
64 u_int flags);
65int fpu_kern_leave(struct thread *td, struct fpu_kern_ctx *ctx);

--- 13 unchanged lines hidden ---
60int npxtrap_x87(void);
61int npxtrap_sse(void);
62void npxuserinited(struct thread *);
63struct fpu_kern_ctx *fpu_kern_alloc_ctx(u_int flags);
64void fpu_kern_free_ctx(struct fpu_kern_ctx *ctx);
65int fpu_kern_enter(struct thread *td, struct fpu_kern_ctx *ctx,
66 u_int flags);
67int fpu_kern_leave(struct thread *td, struct fpu_kern_ctx *ctx);

--- 13 unchanged lines hidden ---