Add explicit #include <x86/fpu.h> instead of relying on pcb.h including it.diff -r1.25 -r1.26 src/sys/arch/i386/i386/compat_16_machdep.c
(dsl)
--- src/sys/arch/i386/i386/compat_16_machdep.c 2014/02/15 10:11:15 1.25
+++ src/sys/arch/i386/i386/compat_16_machdep.c 2014/02/19 21:23:01 1.26
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: compat_16_machdep.c,v 1.25 2014/02/15 10:11:15 dsl Exp $ */ | 1 | /* $NetBSD: compat_16_machdep.c,v 1.26 2014/02/19 21:23:01 dsl Exp $ */ | |
2 | 2 | |||
3 | /*- | 3 | /*- | |
4 | * Copyright (c) 1996, 1997, 1998, 2000 The NetBSD Foundation, Inc. | 4 | * Copyright (c) 1996, 1997, 1998, 2000 The NetBSD Foundation, Inc. | |
5 | * All rights reserved. | 5 | * All rights reserved. | |
6 | * | 6 | * | |
7 | * This code is derived from software contributed to The NetBSD Foundation | 7 | * This code is derived from software contributed to The NetBSD Foundation | |
8 | * by Charles M. Hannum. | 8 | * by Charles M. Hannum. | |
9 | * | 9 | * | |
10 | * Redistribution and use in source and binary forms, with or without | 10 | * Redistribution and use in source and binary forms, with or without | |
11 | * modification, are permitted provided that the following conditions | 11 | * modification, are permitted provided that the following conditions | |
12 | * are met: | 12 | * are met: | |
13 | * 1. Redistributions of source code must retain the above copyright | 13 | * 1. Redistributions of source code must retain the above copyright | |
14 | * notice, this list of conditions and the following disclaimer. | 14 | * notice, this list of conditions and the following disclaimer. | |
@@ -20,51 +20,52 @@ | @@ -20,51 +20,52 @@ | |||
20 | * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED | 20 | * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED | |
21 | * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | 21 | * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | |
22 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS | 22 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS | |
23 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | 23 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | |
24 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | 24 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | |
25 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | 25 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | |
26 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | 26 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | |
27 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | 27 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | |
28 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | 28 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
29 | * POSSIBILITY OF SUCH DAMAGE. | 29 | * POSSIBILITY OF SUCH DAMAGE. | |
30 | */ | 30 | */ | |
31 | 31 | |||
32 | #include <sys/cdefs.h> | 32 | #include <sys/cdefs.h> | |
33 | __KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.25 2014/02/15 10:11:15 dsl Exp $"); | 33 | __KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.26 2014/02/19 21:23:01 dsl Exp $"); | |
34 | 34 | |||
35 | #ifdef _KERNEL_OPT | 35 | #ifdef _KERNEL_OPT | |
36 | #include "opt_vm86.h" | 36 | #include "opt_vm86.h" | |
37 | #include "opt_compat_netbsd.h" | 37 | #include "opt_compat_netbsd.h" | |
38 | #include "opt_compat_ibcs2.h" | 38 | #include "opt_compat_ibcs2.h" | |
39 | #endif | 39 | #endif | |
40 | 40 | |||
41 | #include <sys/param.h> | 41 | #include <sys/param.h> | |
42 | #include <sys/systm.h> | 42 | #include <sys/systm.h> | |
43 | #include <sys/signal.h> | 43 | #include <sys/signal.h> | |
44 | #include <sys/signalvar.h> | 44 | #include <sys/signalvar.h> | |
45 | #include <sys/kernel.h> | 45 | #include <sys/kernel.h> | |
46 | #include <sys/proc.h> | 46 | #include <sys/proc.h> | |
47 | #include <sys/mount.h> | 47 | #include <sys/mount.h> | |
48 | #include <sys/syscallargs.h> | 48 | #include <sys/syscallargs.h> | |
49 | 49 | |||
50 | #ifdef VM86 | 50 | #ifdef VM86 | |
51 | #include <machine/mcontext.h> | 51 | #include <machine/mcontext.h> | |
52 | #include <machine/vm86.h> | 52 | #include <machine/vm86.h> | |
53 | #endif | 53 | #endif | |
54 | #include <uvm/uvm_extern.h> | 54 | #include <uvm/uvm_extern.h> | |
55 | 55 | |||
56 | #include <machine/pmap.h> | 56 | #include <machine/pmap.h> | |
57 | #include <machine/vmparam.h> | 57 | #include <machine/vmparam.h> | |
58 | #include <x86/fpu.h> | |||
58 | 59 | |||
59 | #if defined(COMPAT_16) || defined(COMPAT_IBCS2) | 60 | #if defined(COMPAT_16) || defined(COMPAT_IBCS2) | |
60 | 61 | |||
61 | #include <compat/sys/signal.h> | 62 | #include <compat/sys/signal.h> | |
62 | #include <compat/sys/signalvar.h> | 63 | #include <compat/sys/signalvar.h> | |
63 | /* | 64 | /* | |
64 | * System call to cleanup state after a signal | 65 | * System call to cleanup state after a signal | |
65 | * has been taken. Reset signal mask and | 66 | * has been taken. Reset signal mask and | |
66 | * stack state from context left by sendsig (above). | 67 | * stack state from context left by sendsig (above). | |
67 | * Return to previous pc and psl as specified by | 68 | * Return to previous pc and psl as specified by | |
68 | * context left by sendsig. Check carefully to | 69 | * context left by sendsig. Check carefully to | |
69 | * make sure that the user has not modified the | 70 | * make sure that the user has not modified the | |
70 | * psl to gain improper privileges or to cause | 71 | * psl to gain improper privileges or to cause |
--- src/sys/arch/i386/i386/process_machdep.c 2014/02/15 22:20:41 1.84
+++ src/sys/arch/i386/i386/process_machdep.c 2014/02/19 21:23:01 1.85
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: process_machdep.c,v 1.84 2014/02/15 22:20:41 dsl Exp $ */ | 1 | /* $NetBSD: process_machdep.c,v 1.85 2014/02/19 21:23:01 dsl Exp $ */ | |
2 | 2 | |||
3 | /*- | 3 | /*- | |
4 | * Copyright (c) 1998, 2000, 2001, 2008 The NetBSD Foundation, Inc. | 4 | * Copyright (c) 1998, 2000, 2001, 2008 The NetBSD Foundation, Inc. | |
5 | * All rights reserved. | 5 | * All rights reserved. | |
6 | * | 6 | * | |
7 | * This code is derived from software contributed to The NetBSD Foundation | 7 | * This code is derived from software contributed to The NetBSD Foundation | |
8 | * by Charles M. Hannum; by Jason R. Thorpe of Wasabi Systems, Inc. | 8 | * by Charles M. Hannum; by Jason R. Thorpe of Wasabi Systems, Inc. | |
9 | * | 9 | * | |
10 | * Redistribution and use in source and binary forms, with or without | 10 | * Redistribution and use in source and binary forms, with or without | |
11 | * modification, are permitted provided that the following conditions | 11 | * modification, are permitted provided that the following conditions | |
12 | * are met: | 12 | * are met: | |
13 | * 1. Redistributions of source code must retain the above copyright | 13 | * 1. Redistributions of source code must retain the above copyright | |
14 | * notice, this list of conditions and the following disclaimer. | 14 | * notice, this list of conditions and the following disclaimer. | |
@@ -42,45 +42,47 @@ | @@ -42,45 +42,47 @@ | |||
42 | * Update the current register set from the passed in regs | 42 | * Update the current register set from the passed in regs | |
43 | * structure. Take care to avoid clobbering special CPU | 43 | * structure. Take care to avoid clobbering special CPU | |
44 | * registers or privileged bits in the PSL. | 44 | * registers or privileged bits in the PSL. | |
45 | * The process is stopped at the time write_regs is called. | 45 | * The process is stopped at the time write_regs is called. | |
46 | * | 46 | * | |
47 | * process_sstep(proc) | 47 | * process_sstep(proc) | |
48 | * Arrange for the process to trap after executing a single instruction. | 48 | * Arrange for the process to trap after executing a single instruction. | |
49 | * | 49 | * | |
50 | * process_set_pc(proc) | 50 | * process_set_pc(proc) | |
51 | * Set the process's program counter. | 51 | * Set the process's program counter. | |
52 | */ | 52 | */ | |
53 | 53 | |||
54 | #include <sys/cdefs.h> | 54 | #include <sys/cdefs.h> | |
55 | __KERNEL_RCSID(0, "$NetBSD: process_machdep.c,v 1.84 2014/02/15 22:20:41 dsl Exp $"); | 55 | __KERNEL_RCSID(0, "$NetBSD: process_machdep.c,v 1.85 2014/02/19 21:23:01 dsl Exp $"); | |
56 | 56 | |||
57 | #include "opt_vm86.h" | 57 | #include "opt_vm86.h" | |
58 | #include "opt_ptrace.h" | 58 | #include "opt_ptrace.h" | |
59 | 59 | |||
60 | #include <sys/param.h> | 60 | #include <sys/param.h> | |
61 | #include <sys/systm.h> | 61 | #include <sys/systm.h> | |
62 | #include <sys/time.h> | 62 | #include <sys/time.h> | |
63 | #include <sys/kernel.h> | 63 | #include <sys/kernel.h> | |
64 | #include <sys/proc.h> | 64 | #include <sys/proc.h> | |
65 | #include <sys/vnode.h> | 65 | #include <sys/vnode.h> | |
66 | #include <sys/ptrace.h> | 66 | #include <sys/ptrace.h> | |
67 | 67 | |||
68 | #include <uvm/uvm_extern.h> | 68 | #include <uvm/uvm_extern.h> | |
69 | 69 | |||
70 | #include <machine/psl.h> | 70 | #include <machine/psl.h> | |
71 | #include <machine/reg.h> | 71 | #include <machine/reg.h> | |
72 | #include <machine/segments.h> | 72 | #include <machine/segments.h> | |
73 | 73 | |||
74 | #include <x86/fpu.h> | |||
75 | ||||
74 | #ifdef VM86 | 76 | #ifdef VM86 | |
75 | #include <machine/vm86.h> | 77 | #include <machine/vm86.h> | |
76 | #endif | 78 | #endif | |
77 | 79 | |||
78 | static inline struct trapframe * | 80 | static inline struct trapframe * | |
79 | process_frame(struct lwp *l) | 81 | process_frame(struct lwp *l) | |
80 | { | 82 | { | |
81 | 83 | |||
82 | return (l->l_md.md_regs); | 84 | return (l->l_md.md_regs); | |
83 | } | 85 | } | |
84 | 86 | |||
85 | int | 87 | int | |
86 | process_read_regs(struct lwp *l, struct reg *regs) | 88 | process_read_regs(struct lwp *l, struct reg *regs) |
--- src/sys/arch/x86/acpi/acpi_wakeup.c 2014/02/11 20:17:16 1.36
+++ src/sys/arch/x86/acpi/acpi_wakeup.c 2014/02/19 21:23:01 1.37
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: acpi_wakeup.c,v 1.36 2014/02/11 20:17:16 dsl Exp $ */ | 1 | /* $NetBSD: acpi_wakeup.c,v 1.37 2014/02/19 21:23:01 dsl Exp $ */ | |
2 | 2 | |||
3 | /*- | 3 | /*- | |
4 | * Copyright (c) 2002, 2011 The NetBSD Foundation, Inc. | 4 | * Copyright (c) 2002, 2011 The NetBSD Foundation, Inc. | |
5 | * All rights reserved. | 5 | * All rights reserved. | |
6 | * | 6 | * | |
7 | * This code is derived from software contributed to The NetBSD Foundation | 7 | * This code is derived from software contributed to The NetBSD Foundation | |
8 | * by Takuya SHIOZAKI. | 8 | * by Takuya SHIOZAKI. | |
9 | * | 9 | * | |
10 | * Redistribution and use in source and binary forms, with or without | 10 | * Redistribution and use in source and binary forms, with or without | |
11 | * modification, are permitted provided that the following conditions | 11 | * modification, are permitted provided that the following conditions | |
12 | * are met: | 12 | * are met: | |
13 | * 1. Redistributions of source code must retain the above copyright | 13 | * 1. Redistributions of source code must retain the above copyright | |
14 | * notice, this list of conditions and the following disclaimer. | 14 | * notice, this list of conditions and the following disclaimer. | |
@@ -20,27 +20,27 @@ | @@ -20,27 +20,27 @@ | |||
20 | * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED | 20 | * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED | |
21 | * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | 21 | * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | |
22 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS | 22 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS | |
23 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | 23 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | |
24 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | 24 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | |
25 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | 25 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | |
26 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | 26 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | |
27 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | 27 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | |
28 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | 28 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
29 | * POSSIBILITY OF SUCH DAMAGE. | 29 | * POSSIBILITY OF SUCH DAMAGE. | |
30 | */ | 30 | */ | |
31 | 31 | |||
32 | #include <sys/cdefs.h> | 32 | #include <sys/cdefs.h> | |
33 | __KERNEL_RCSID(0, "$NetBSD: acpi_wakeup.c,v 1.36 2014/02/11 20:17:16 dsl Exp $"); | 33 | __KERNEL_RCSID(0, "$NetBSD: acpi_wakeup.c,v 1.37 2014/02/19 21:23:01 dsl Exp $"); | |
34 | 34 | |||
35 | /*- | 35 | /*- | |
36 | * Copyright (c) 2001 Takanori Watanabe <takawata@jp.freebsd.org> | 36 | * Copyright (c) 2001 Takanori Watanabe <takawata@jp.freebsd.org> | |
37 | * Copyright (c) 2001 Mitsuru IWASAKI <iwasaki@jp.freebsd.org> | 37 | * Copyright (c) 2001 Mitsuru IWASAKI <iwasaki@jp.freebsd.org> | |
38 | * All rights reserved. | 38 | * All rights reserved. | |
39 | * | 39 | * | |
40 | * Redistribution and use in source and binary forms, with or without | 40 | * Redistribution and use in source and binary forms, with or without | |
41 | * modification, are permitted provided that the following conditions | 41 | * modification, are permitted provided that the following conditions | |
42 | * are met: | 42 | * are met: | |
43 | * 1. Redistributions of source code must retain the above copyright | 43 | * 1. Redistributions of source code must retain the above copyright | |
44 | * notice, this list of conditions and the following disclaimer. | 44 | * notice, this list of conditions and the following disclaimer. | |
45 | * 2. Redistributions in binary form must reproduce the above copyright | 45 | * 2. Redistributions in binary form must reproduce the above copyright | |
46 | * notice, this list of conditions and the following disclaimer in the | 46 | * notice, this list of conditions and the following disclaimer in the | |
@@ -52,27 +52,27 @@ __KERNEL_RCSID(0, "$NetBSD: acpi_wakeup. | @@ -52,27 +52,27 @@ __KERNEL_RCSID(0, "$NetBSD: acpi_wakeup. | |||
52 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE | 52 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE | |
53 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | 53 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |
54 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | 54 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | |
55 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | 55 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |
56 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | 56 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
57 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | 57 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | |
58 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 58 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | |
59 | * SUCH DAMAGE. | 59 | * SUCH DAMAGE. | |
60 | * | 60 | * | |
61 | * FreeBSD: src/sys/i386/acpica/acpi_wakeup.c,v 1.9 2002/01/10 03:26:46 wes Exp | 61 | * FreeBSD: src/sys/i386/acpica/acpi_wakeup.c,v 1.9 2002/01/10 03:26:46 wes Exp | |
62 | */ | 62 | */ | |
63 | 63 | |||
64 | #include <sys/cdefs.h> | 64 | #include <sys/cdefs.h> | |
65 | __KERNEL_RCSID(0, "$NetBSD: acpi_wakeup.c,v 1.36 2014/02/11 20:17:16 dsl Exp $"); | 65 | __KERNEL_RCSID(0, "$NetBSD: acpi_wakeup.c,v 1.37 2014/02/19 21:23:01 dsl Exp $"); | |
66 | 66 | |||
67 | #include <sys/param.h> | 67 | #include <sys/param.h> | |
68 | #include <sys/systm.h> | 68 | #include <sys/systm.h> | |
69 | #include <sys/kernel.h> | 69 | #include <sys/kernel.h> | |
70 | #include <sys/bus.h> | 70 | #include <sys/bus.h> | |
71 | #include <sys/cpu.h> | 71 | #include <sys/cpu.h> | |
72 | #include <sys/kcpuset.h> | 72 | #include <sys/kcpuset.h> | |
73 | #include <sys/sysctl.h> | 73 | #include <sys/sysctl.h> | |
74 | 74 | |||
75 | #include <uvm/uvm_extern.h> | 75 | #include <uvm/uvm_extern.h> | |
76 | #include <uvm/uvm_page.h> | 76 | #include <uvm/uvm_page.h> | |
77 | 77 | |||
78 | #ifdef __i386__ | 78 | #ifdef __i386__ | |
@@ -91,26 +91,27 @@ __KERNEL_RCSID(0, "$NetBSD: acpi_wakeup. | @@ -91,26 +91,27 @@ __KERNEL_RCSID(0, "$NetBSD: acpi_wakeup. | |||
91 | 91 | |||
92 | #include "acpica.h" | 92 | #include "acpica.h" | |
93 | 93 | |||
94 | #include <dev/ic/i8253reg.h> | 94 | #include <dev/ic/i8253reg.h> | |
95 | #include <dev/acpi/acpica.h> | 95 | #include <dev/acpi/acpica.h> | |
96 | #include <dev/acpi/acpivar.h> | 96 | #include <dev/acpi/acpivar.h> | |
97 | #define ACPI_MACHDEP_PRIVATE | 97 | #define ACPI_MACHDEP_PRIVATE | |
98 | #include <machine/acpi_machdep.h> | 98 | #include <machine/acpi_machdep.h> | |
99 | #include <machine/cpu.h> | 99 | #include <machine/cpu.h> | |
100 | #include <machine/mtrr.h> | 100 | #include <machine/mtrr.h> | |
101 | 101 | |||
102 | #include <x86/cpuvar.h> | 102 | #include <x86/cpuvar.h> | |
103 | #include <x86/x86/tsc.h> | 103 | #include <x86/x86/tsc.h> | |
104 | #include <x86/fpu.h> | |||
104 | 105 | |||
105 | #include "opt_vga.h" | 106 | #include "opt_vga.h" | |
106 | 107 | |||
107 | #include "acpi_wakecode.h" | 108 | #include "acpi_wakecode.h" | |
108 | 109 | |||
109 | /* Address is also hard-coded in acpi_wakecode.S */ | 110 | /* Address is also hard-coded in acpi_wakecode.S */ | |
110 | static paddr_t acpi_wakeup_paddr = 3 * PAGE_SIZE; | 111 | static paddr_t acpi_wakeup_paddr = 3 * PAGE_SIZE; | |
111 | static vaddr_t acpi_wakeup_vaddr; | 112 | static vaddr_t acpi_wakeup_vaddr; | |
112 | 113 | |||
113 | int acpi_md_vbios_reset = 1; /* Referenced by dev/pci/vga_pci.c */ | 114 | int acpi_md_vbios_reset = 1; /* Referenced by dev/pci/vga_pci.c */ | |
114 | int acpi_md_vesa_modenum = 0; /* Referenced by arch/x86/x86/genfb_machdep.c */ | 115 | int acpi_md_vesa_modenum = 0; /* Referenced by arch/x86/x86/genfb_machdep.c */ | |
115 | static int acpi_md_beep_on_reset = 0; | 116 | static int acpi_md_beep_on_reset = 0; | |
116 | 117 |
--- src/sys/arch/x86/x86/cpu.c 2014/01/26 19:16:17 1.108
+++ src/sys/arch/x86/x86/cpu.c 2014/02/19 21:23:02 1.109
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: cpu.c,v 1.108 2014/01/26 19:16:17 dsl Exp $ */ | 1 | /* $NetBSD: cpu.c,v 1.109 2014/02/19 21:23:02 dsl Exp $ */ | |
2 | 2 | |||
3 | /*- | 3 | /*- | |
4 | * Copyright (c) 2000-2012 NetBSD Foundation, Inc. | 4 | * Copyright (c) 2000-2012 NetBSD Foundation, Inc. | |
5 | * All rights reserved. | 5 | * All rights reserved. | |
6 | * | 6 | * | |
7 | * This code is derived from software contributed to The NetBSD Foundation | 7 | * This code is derived from software contributed to The NetBSD Foundation | |
8 | * by Bill Sommerfeld of RedBack Networks Inc, and by Andrew Doran. | 8 | * by Bill Sommerfeld of RedBack Networks Inc, and by Andrew Doran. | |
9 | * | 9 | * | |
10 | * Redistribution and use in source and binary forms, with or without | 10 | * Redistribution and use in source and binary forms, with or without | |
11 | * modification, are permitted provided that the following conditions | 11 | * modification, are permitted provided that the following conditions | |
12 | * are met: | 12 | * are met: | |
13 | * 1. Redistributions of source code must retain the above copyright | 13 | * 1. Redistributions of source code must retain the above copyright | |
14 | * notice, this list of conditions and the following disclaimer. | 14 | * notice, this list of conditions and the following disclaimer. | |
@@ -52,27 +52,27 @@ | @@ -52,27 +52,27 @@ | |||
52 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | 52 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
53 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | 53 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |
54 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR AND CONTRIBUTORS BE LIABLE | 54 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR AND CONTRIBUTORS BE LIABLE | |
55 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | 55 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |
56 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | 56 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | |
57 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | 57 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |
58 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | 58 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
59 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | 59 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | |
60 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 60 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | |
61 | * SUCH DAMAGE. | 61 | * SUCH DAMAGE. | |
62 | */ | 62 | */ | |
63 | 63 | |||
64 | #include <sys/cdefs.h> | 64 | #include <sys/cdefs.h> | |
65 | __KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.108 2014/01/26 19:16:17 dsl Exp $"); | 65 | __KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.109 2014/02/19 21:23:02 dsl Exp $"); | |
66 | 66 | |||
67 | #include "opt_ddb.h" | 67 | #include "opt_ddb.h" | |
68 | #include "opt_mpbios.h" /* for MPDEBUG */ | 68 | #include "opt_mpbios.h" /* for MPDEBUG */ | |
69 | #include "opt_mtrr.h" | 69 | #include "opt_mtrr.h" | |
70 | #include "opt_multiprocessor.h" | 70 | #include "opt_multiprocessor.h" | |
71 | 71 | |||
72 | #include "lapic.h" | 72 | #include "lapic.h" | |
73 | #include "ioapic.h" | 73 | #include "ioapic.h" | |
74 | 74 | |||
75 | #include <sys/param.h> | 75 | #include <sys/param.h> | |
76 | #include <sys/proc.h> | 76 | #include <sys/proc.h> | |
77 | #include <sys/systm.h> | 77 | #include <sys/systm.h> | |
78 | #include <sys/device.h> | 78 | #include <sys/device.h> | |
@@ -93,26 +93,28 @@ __KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.10 | @@ -93,26 +93,28 @@ __KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.10 | |||
93 | #include <machine/vmparam.h> | 93 | #include <machine/vmparam.h> | |
94 | #if defined(MULTIPROCESSOR) | 94 | #if defined(MULTIPROCESSOR) | |
95 | #include <machine/mpbiosvar.h> | 95 | #include <machine/mpbiosvar.h> | |
96 | #endif | 96 | #endif | |
97 | #include <machine/mpconfig.h> /* for mp_verbose */ | 97 | #include <machine/mpconfig.h> /* for mp_verbose */ | |
98 | #include <machine/pcb.h> | 98 | #include <machine/pcb.h> | |
99 | #include <machine/specialreg.h> | 99 | #include <machine/specialreg.h> | |
100 | #include <machine/segments.h> | 100 | #include <machine/segments.h> | |
101 | #include <machine/gdt.h> | 101 | #include <machine/gdt.h> | |
102 | #include <machine/mtrr.h> | 102 | #include <machine/mtrr.h> | |
103 | #include <machine/pio.h> | 103 | #include <machine/pio.h> | |
104 | #include <machine/cpu_counter.h> | 104 | #include <machine/cpu_counter.h> | |
105 | 105 | |||
106 | #include <x86/fpu.h> | |||
107 | ||||
106 | #ifdef i386 | 108 | #ifdef i386 | |
107 | #include <machine/tlog.h> | 109 | #include <machine/tlog.h> | |
108 | #endif | 110 | #endif | |
109 | 111 | |||
110 | #if NLAPIC > 0 | 112 | #if NLAPIC > 0 | |
111 | #include <machine/apicvar.h> | 113 | #include <machine/apicvar.h> | |
112 | #include <machine/i82489reg.h> | 114 | #include <machine/i82489reg.h> | |
113 | #include <machine/i82489var.h> | 115 | #include <machine/i82489var.h> | |
114 | #endif | 116 | #endif | |
115 | 117 | |||
116 | #include <dev/ic/mc146818reg.h> | 118 | #include <dev/ic/mc146818reg.h> | |
117 | #include <i386/isa/nvram.h> | 119 | #include <i386/isa/nvram.h> | |
118 | #include <dev/isa/isareg.h> | 120 | #include <dev/isa/isareg.h> |
--- src/sys/arch/x86/x86/ipi.c 2014/02/11 20:17:16 1.22
+++ src/sys/arch/x86/x86/ipi.c 2014/02/19 21:23:02 1.23
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: ipi.c,v 1.22 2014/02/11 20:17:16 dsl Exp $ */ | 1 | /* $NetBSD: ipi.c,v 1.23 2014/02/19 21:23:02 dsl Exp $ */ | |
2 | 2 | |||
3 | /*- | 3 | /*- | |
4 | * Copyright (c) 2000, 2008, 2009 The NetBSD Foundation, Inc. | 4 | * Copyright (c) 2000, 2008, 2009 The NetBSD Foundation, Inc. | |
5 | * All rights reserved. | 5 | * All rights reserved. | |
6 | * | 6 | * | |
7 | * This code is derived from software contributed to The NetBSD Foundation | 7 | * This code is derived from software contributed to The NetBSD Foundation | |
8 | * by RedBack Networks Inc. | 8 | * by RedBack Networks Inc. | |
9 | * | 9 | * | |
10 | * Author: Bill Sommerfeld | 10 | * Author: Bill Sommerfeld | |
11 | * | 11 | * | |
12 | * Redistribution and use in source and binary forms, with or without | 12 | * Redistribution and use in source and binary forms, with or without | |
13 | * modification, are permitted provided that the following conditions | 13 | * modification, are permitted provided that the following conditions | |
14 | * are met: | 14 | * are met: | |
@@ -22,53 +22,51 @@ | @@ -22,53 +22,51 @@ | |||
22 | * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED | 22 | * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED | |
23 | * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | 23 | * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | |
24 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS | 24 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS | |
25 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | 25 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | |
26 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | 26 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | |
27 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | 27 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | |
28 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | 28 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | |
29 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | 29 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | |
30 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | 30 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
31 | * POSSIBILITY OF SUCH DAMAGE. | 31 | * POSSIBILITY OF SUCH DAMAGE. | |
32 | */ | 32 | */ | |
33 | 33 | |||
34 | #include <sys/cdefs.h> | 34 | #include <sys/cdefs.h> | |
35 | __KERNEL_RCSID(0, "$NetBSD: ipi.c,v 1.22 2014/02/11 20:17:16 dsl Exp $"); | 35 | __KERNEL_RCSID(0, "$NetBSD: ipi.c,v 1.23 2014/02/19 21:23:02 dsl Exp $"); | |
36 | 36 | |||
37 | #include "opt_mtrr.h" | 37 | #include "opt_mtrr.h" | |
38 | 38 | |||
39 | #include <sys/param.h> | 39 | #include <sys/param.h> | |
40 | #include <sys/device.h> | 40 | #include <sys/device.h> | |
41 | #include <sys/systm.h> | 41 | #include <sys/systm.h> | |
42 | #include <sys/atomic.h> | 42 | #include <sys/atomic.h> | |
43 | #include <sys/intr.h> | 43 | #include <sys/intr.h> | |
44 | #include <sys/cpu.h> | 44 | #include <sys/cpu.h> | |
45 | #include <sys/xcall.h> | 45 | #include <sys/xcall.h> | |
46 | 46 | |||
47 | #ifdef MULTIPROCESSOR | 47 | #ifdef MULTIPROCESSOR | |
48 | 48 | |||
49 | #include <machine/cpufunc.h> | 49 | #include <machine/cpufunc.h> | |
50 | #include <machine/cpuvar.h> | 50 | #include <machine/cpuvar.h> | |
51 | #include <machine/i82093var.h> | 51 | #include <machine/i82093var.h> | |
52 | #include <machine/i82489reg.h> | 52 | #include <machine/i82489reg.h> | |
53 | #include <machine/i82489var.h> | 53 | #include <machine/i82489var.h> | |
54 | #include <machine/mtrr.h> | 54 | #include <machine/mtrr.h> | |
55 | #include <machine/gdt.h> | 55 | #include <machine/gdt.h> | |
56 | 56 | |||
57 | #include "acpica.h" | 57 | #include "acpica.h" | |
58 | 58 | |||
59 | #ifdef __x86_64__ | |||
60 | #include <x86/fpu.h> | 59 | #include <x86/fpu.h> | |
61 | #endif | |||
62 | 60 | |||
63 | static void x86_ipi_halt(struct cpu_info *); | 61 | static void x86_ipi_halt(struct cpu_info *); | |
64 | static void x86_ipi_kpreempt(struct cpu_info *); | 62 | static void x86_ipi_kpreempt(struct cpu_info *); | |
65 | static void x86_ipi_xcall(struct cpu_info *); | 63 | static void x86_ipi_xcall(struct cpu_info *); | |
66 | 64 | |||
67 | #ifdef MTRR | 65 | #ifdef MTRR | |
68 | static void x86_ipi_reload_mtrr(struct cpu_info *); | 66 | static void x86_ipi_reload_mtrr(struct cpu_info *); | |
69 | #else | 67 | #else | |
70 | #define x86_ipi_reload_mtrr NULL | 68 | #define x86_ipi_reload_mtrr NULL | |
71 | #endif | 69 | #endif | |
72 | 70 | |||
73 | #if NACPICA > 0 | 71 | #if NACPICA > 0 | |
74 | void acpi_cpu_sleep(struct cpu_info *); | 72 | void acpi_cpu_sleep(struct cpu_info *); |
--- src/sys/compat/linux/arch/i386/linux_machdep.c 2014/02/15 10:11:15 1.157
+++ src/sys/compat/linux/arch/i386/linux_machdep.c 2014/02/19 21:23:02 1.158
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: linux_machdep.c,v 1.157 2014/02/15 10:11:15 dsl Exp $ */ | 1 | /* $NetBSD: linux_machdep.c,v 1.158 2014/02/19 21:23:02 dsl Exp $ */ | |
2 | 2 | |||
3 | /*- | 3 | /*- | |
4 | * Copyright (c) 1995, 2000, 2008, 2009 The NetBSD Foundation, Inc. | 4 | * Copyright (c) 1995, 2000, 2008, 2009 The NetBSD Foundation, Inc. | |
5 | * All rights reserved. | 5 | * All rights reserved. | |
6 | * | 6 | * | |
7 | * This code is derived from software contributed to The NetBSD Foundation | 7 | * This code is derived from software contributed to The NetBSD Foundation | |
8 | * by Frank van der Linden, and by Andrew Doran. | 8 | * by Frank van der Linden, and by Andrew Doran. | |
9 | * | 9 | * | |
10 | * Redistribution and use in source and binary forms, with or without | 10 | * Redistribution and use in source and binary forms, with or without | |
11 | * modification, are permitted provided that the following conditions | 11 | * modification, are permitted provided that the following conditions | |
12 | * are met: | 12 | * are met: | |
13 | * 1. Redistributions of source code must retain the above copyright | 13 | * 1. Redistributions of source code must retain the above copyright | |
14 | * notice, this list of conditions and the following disclaimer. | 14 | * notice, this list of conditions and the following disclaimer. | |
@@ -20,27 +20,27 @@ | @@ -20,27 +20,27 @@ | |||
20 | * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED | 20 | * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED | |
21 | * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | 21 | * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | |
22 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS | 22 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS | |
23 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | 23 | * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | |
24 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | 24 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | |
25 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | 25 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | |
26 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | 26 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | |
27 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | 27 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | |
28 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | 28 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
29 | * POSSIBILITY OF SUCH DAMAGE. | 29 | * POSSIBILITY OF SUCH DAMAGE. | |
30 | */ | 30 | */ | |
31 | 31 | |||
32 | #include <sys/cdefs.h> | 32 | #include <sys/cdefs.h> | |
33 | __KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.157 2014/02/15 10:11:15 dsl Exp $"); | 33 | __KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.158 2014/02/19 21:23:02 dsl Exp $"); | |
34 | 34 | |||
35 | #if defined(_KERNEL_OPT) | 35 | #if defined(_KERNEL_OPT) | |
36 | #include "opt_vm86.h" | 36 | #include "opt_vm86.h" | |
37 | #include "opt_user_ldt.h" | 37 | #include "opt_user_ldt.h" | |
38 | #endif | 38 | #endif | |
39 | 39 | |||
40 | #include <sys/param.h> | 40 | #include <sys/param.h> | |
41 | #include <sys/systm.h> | 41 | #include <sys/systm.h> | |
42 | #include <sys/signalvar.h> | 42 | #include <sys/signalvar.h> | |
43 | #include <sys/kernel.h> | 43 | #include <sys/kernel.h> | |
44 | #include <sys/proc.h> | 44 | #include <sys/proc.h> | |
45 | #include <sys/buf.h> | 45 | #include <sys/buf.h> | |
46 | #include <sys/reboot.h> | 46 | #include <sys/reboot.h> | |
@@ -76,26 +76,28 @@ __KERNEL_RCSID(0, "$NetBSD: linux_machde | @@ -76,26 +76,28 @@ __KERNEL_RCSID(0, "$NetBSD: linux_machde | |||
76 | 76 | |||
77 | #include <compat/linux/linux_syscallargs.h> | 77 | #include <compat/linux/linux_syscallargs.h> | |
78 | 78 | |||
79 | #include <sys/cpu.h> | 79 | #include <sys/cpu.h> | |
80 | #include <machine/cpufunc.h> | 80 | #include <machine/cpufunc.h> | |
81 | #include <machine/psl.h> | 81 | #include <machine/psl.h> | |
82 | #include <machine/reg.h> | 82 | #include <machine/reg.h> | |
83 | #include <machine/segments.h> | 83 | #include <machine/segments.h> | |
84 | #include <machine/specialreg.h> | 84 | #include <machine/specialreg.h> | |
85 | #include <machine/sysarch.h> | 85 | #include <machine/sysarch.h> | |
86 | #include <machine/vm86.h> | 86 | #include <machine/vm86.h> | |
87 | #include <machine/vmparam.h> | 87 | #include <machine/vmparam.h> | |
88 | 88 | |||
89 | #include <x86/fpu.h> | |||
90 | ||||
89 | /* | 91 | /* | |
90 | * To see whether wscons is configured (for virtual console ioctl calls). | 92 | * To see whether wscons is configured (for virtual console ioctl calls). | |
91 | */ | 93 | */ | |
92 | #if defined(_KERNEL_OPT) | 94 | #if defined(_KERNEL_OPT) | |
93 | #include "wsdisplay.h" | 95 | #include "wsdisplay.h" | |
94 | #endif | 96 | #endif | |
95 | #if (NWSDISPLAY > 0) | 97 | #if (NWSDISPLAY > 0) | |
96 | #include <dev/wscons/wsconsio.h> | 98 | #include <dev/wscons/wsconsio.h> | |
97 | #include <dev/wscons/wsdisplay_usl_io.h> | 99 | #include <dev/wscons/wsdisplay_usl_io.h> | |
98 | #if defined(_KERNEL_OPT) | 100 | #if defined(_KERNEL_OPT) | |
99 | #include "opt_xserver.h" | 101 | #include "opt_xserver.h" | |
100 | #endif | 102 | #endif | |
101 | #endif | 103 | #endif |