Deleted Added
full compact
machdep.c (248084) machdep.c (250840)
1/*-
2 * Copyright (c) 1992 Terrence R. Lambert.
3 * Copyright (c) 1982, 1987, 1990 The Regents of the University of California.
4 * All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * William Jolitz.
8 *

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

33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 * SUCH DAMAGE.
36 *
37 * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
38 */
39
40#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1992 Terrence R. Lambert.
3 * Copyright (c) 1982, 1987, 1990 The Regents of the University of California.
4 * All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * William Jolitz.
8 *

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

33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 * SUCH DAMAGE.
36 *
37 * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
38 */
39
40#include <sys/cdefs.h>
41__FBSDID("$FreeBSD: head/sys/i386/i386/machdep.c 248084 2013-03-09 02:32:23Z attilio $");
41__FBSDID("$FreeBSD: head/sys/i386/i386/machdep.c 250840 2013-05-21 03:05:49Z marcel $");
42
43#include "opt_apic.h"
44#include "opt_atalk.h"
45#include "opt_atpic.h"
46#include "opt_compat.h"
47#include "opt_cpu.h"
48#include "opt_ddb.h"
49#include "opt_inet.h"
50#include "opt_ipx.h"
51#include "opt_isa.h"
52#include "opt_kstack_pages.h"
53#include "opt_maxmem.h"
54#include "opt_mp_watchdog.h"
55#include "opt_npx.h"
56#include "opt_perfmon.h"
42
43#include "opt_apic.h"
44#include "opt_atalk.h"
45#include "opt_atpic.h"
46#include "opt_compat.h"
47#include "opt_cpu.h"
48#include "opt_ddb.h"
49#include "opt_inet.h"
50#include "opt_ipx.h"
51#include "opt_isa.h"
52#include "opt_kstack_pages.h"
53#include "opt_maxmem.h"
54#include "opt_mp_watchdog.h"
55#include "opt_npx.h"
56#include "opt_perfmon.h"
57#include "opt_platform.h"
57#include "opt_xbox.h"
58#include "opt_kdtrace.h"
59
60#include <sys/param.h>
61#include <sys/proc.h>
62#include <sys/systm.h>
63#include <sys/bio.h>
64#include <sys/buf.h>

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

133#include <machine/specialreg.h>
134#include <machine/vm86.h>
135#ifdef PERFMON
136#include <machine/perfmon.h>
137#endif
138#ifdef SMP
139#include <machine/smp.h>
140#endif
58#include "opt_xbox.h"
59#include "opt_kdtrace.h"
60
61#include <sys/param.h>
62#include <sys/proc.h>
63#include <sys/systm.h>
64#include <sys/bio.h>
65#include <sys/buf.h>

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

134#include <machine/specialreg.h>
135#include <machine/vm86.h>
136#ifdef PERFMON
137#include <machine/perfmon.h>
138#endif
139#ifdef SMP
140#include <machine/smp.h>
141#endif
142#ifdef FDT
143#include <x86/fdt.h>
144#endif
141
142#ifdef DEV_APIC
143#include <machine/apicvar.h>
144#endif
145
146#ifdef DEV_ISA
147#include <x86/isa/icu.h>
148#endif

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

3108#else
3109 thread0.td_pcb->pcb_cr3 = (int)IdlePTD;
3110#endif
3111 thread0.td_pcb->pcb_ext = 0;
3112 thread0.td_frame = &proc0_tf;
3113
3114 cpu_probe_amdc1e();
3115 cpu_probe_cmpxchg8b();
145
146#ifdef DEV_APIC
147#include <machine/apicvar.h>
148#endif
149
150#ifdef DEV_ISA
151#include <x86/isa/icu.h>
152#endif

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

3112#else
3113 thread0.td_pcb->pcb_cr3 = (int)IdlePTD;
3114#endif
3115 thread0.td_pcb->pcb_ext = 0;
3116 thread0.td_frame = &proc0_tf;
3117
3118 cpu_probe_amdc1e();
3119 cpu_probe_cmpxchg8b();
3120
3121#ifdef FDT
3122 x86_init_fdt();
3123#endif
3116}
3117#endif
3118
3119void
3120cpu_pcpu_init(struct pcpu *pcpu, int cpuid, size_t size)
3121{
3122
3123 pcpu->pc_acpi_id = 0xffffffff;

--- 619 unchanged lines hidden ---
3124}
3125#endif
3126
3127void
3128cpu_pcpu_init(struct pcpu *pcpu, int cpuid, size_t size)
3129{
3130
3131 pcpu->pc_acpi_id = 0xffffffff;

--- 619 unchanged lines hidden ---