Deleted Added
full compact
sys_machdep.c (193511) sys_machdep.c (195104)
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * from: @(#)sys_machdep.c 5.5 (Berkeley) 1/19/91
30 */
31
32#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * from: @(#)sys_machdep.c 5.5 (Berkeley) 1/19/91
30 */
31
32#include <sys/cdefs.h>
33__FBSDID("$FreeBSD: head/sys/i386/i386/sys_machdep.c 193511 2009-06-05 14:55:22Z rwatson $");
33__FBSDID("$FreeBSD: head/sys/i386/i386/sys_machdep.c 195104 2009-06-27 13:58:44Z rwatson $");
34
35#include "opt_kstack_pages.h"
36
37#include <sys/param.h>
38#include <sys/systm.h>
39#include <sys/lock.h>
40#include <sys/malloc.h>
41#include <sys/mutex.h>

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

102 union descriptor *lp;
103 union {
104 struct i386_ldt_args largs;
105 struct i386_ioperm_args iargs;
106 } kargs;
107 uint32_t base;
108 struct segment_descriptor sd, *sdp;
109
34
35#include "opt_kstack_pages.h"
36
37#include <sys/param.h>
38#include <sys/systm.h>
39#include <sys/lock.h>
40#include <sys/malloc.h>
41#include <sys/mutex.h>

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

102 union descriptor *lp;
103 union {
104 struct i386_ldt_args largs;
105 struct i386_ioperm_args iargs;
106 } kargs;
107 uint32_t base;
108 struct segment_descriptor sd, *sdp;
109
110 AUDIT_ARG(cmd, uap->op);
110 AUDIT_ARG_CMD(uap->op);
111 switch (uap->op) {
112 case I386_GET_IOPERM:
113 case I386_SET_IOPERM:
114 if ((error = copyin(uap->parms, &kargs.iargs,
115 sizeof(struct i386_ioperm_args))) != 0)
116 return (error);
117 break;
118 case I386_GET_LDT:

--- 737 unchanged lines hidden ---
111 switch (uap->op) {
112 case I386_GET_IOPERM:
113 case I386_SET_IOPERM:
114 if ((error = copyin(uap->parms, &kargs.iargs,
115 sizeof(struct i386_ioperm_args))) != 0)
116 return (error);
117 break;
118 case I386_GET_LDT:

--- 737 unchanged lines hidden ---