mp_x86.c (92770) | mp_x86.c (93017) |
---|---|
1/* 2 * Copyright (c) 1996, by Steve Passe 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 --- 8 unchanged lines hidden (view full) --- 17 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23 * SUCH DAMAGE. 24 * | 1/* 2 * Copyright (c) 1996, by Steve Passe 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 --- 8 unchanged lines hidden (view full) --- 17 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23 * SUCH DAMAGE. 24 * |
25 * $FreeBSD: head/sys/i386/i386/mp_machdep.c 92770 2002-03-20 08:56:31Z alfred $ | 25 * $FreeBSD: head/sys/i386/i386/mp_machdep.c 93017 2002-03-23 14:27:06Z bde $ |
26 */ 27 28#include "opt_cpu.h" 29#include "opt_kstack_pages.h" 30 31#ifdef SMP 32#include <machine/smptests.h> 33#else --- 698 unchanged lines hidden (view full) --- 732/* the bus data */ 733static bus_datum *bus_data; 734 735/* the IO INT data, one entry per possible APIC INTerrupt */ 736static io_int *io_apic_ints; 737 738static int nintrs; 739 | 26 */ 27 28#include "opt_cpu.h" 29#include "opt_kstack_pages.h" 30 31#ifdef SMP 32#include <machine/smptests.h> 33#else --- 698 unchanged lines hidden (view full) --- 732/* the bus data */ 733static bus_datum *bus_data; 734 735/* the IO INT data, one entry per possible APIC INTerrupt */ 736static io_int *io_apic_ints; 737 738static int nintrs; 739 |
740static int processor_entry (proc_entry_ptr entry, int cpu); 741static int bus_entry (bus_entry_ptr entry, int bus); 742static int io_apic_entry (io_apic_entry_ptr entry, int apic); 743static int int_entry (int_entry_ptr entry, int intr); 744static int lookup_bus_type (char *name); | 740static int processor_entry(proc_entry_ptr entry, int cpu); 741static int bus_entry(bus_entry_ptr entry, int bus); 742static int io_apic_entry(io_apic_entry_ptr entry, int apic); 743static int int_entry(int_entry_ptr entry, int intr); 744static int lookup_bus_type(char *name); |
745 746 747/* 748 * 1st pass on motherboard's Intel MP specification table. 749 * 750 * initializes: 751 * mp_ncpus = 1 752 * --- 1683 unchanged lines hidden --- | 745 746 747/* 748 * 1st pass on motherboard's Intel MP specification table. 749 * 750 * initializes: 751 * mp_ncpus = 1 752 * --- 1683 unchanged lines hidden --- |