Deleted Added
full compact
mptable.c (214631) mptable.c (215009)
1/*-
2 * Copyright (c) 2003 John Baldwin <jhb@FreeBSD.org>
3 * Copyright (c) 1996, by Steve Passe
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2003 John Baldwin <jhb@FreeBSD.org>
3 * Copyright (c) 1996, by Steve Passe
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: head/sys/i386/xen/mptable.c 214631 2010-11-01 18:18:46Z jhb $");
28__FBSDID("$FreeBSD: head/sys/i386/xen/mptable.c 215009 2010-11-08 20:35:09Z jhb $");
29
30#include <sys/param.h>
31#include <sys/systm.h>
32#include <sys/bus.h>
33#include <sys/kernel.h>
34#include <sys/malloc.h>
35
36#include <vm/vm.h>

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

104}
105
106static void
107mptable_register(void *dummy __unused)
108{
109
110 apic_register_enumerator(&mptable_enumerator);
111}
29
30#include <sys/param.h>
31#include <sys/systm.h>
32#include <sys/bus.h>
33#include <sys/kernel.h>
34#include <sys/malloc.h>
35
36#include <vm/vm.h>

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

104}
105
106static void
107mptable_register(void *dummy __unused)
108{
109
110 apic_register_enumerator(&mptable_enumerator);
111}
112SYSINIT(mptable_register, SI_SUB_CPU - 1, SI_ORDER_FIRST, mptable_register,
112SYSINIT(mptable_register, SI_SUB_TUNABLES - 1, SI_ORDER_FIRST, mptable_register,
113 NULL);
114
115
116
117int
118mptable_pci_probe_table(int bus)
119{
120
121 return (0);
122}
123
124int
125mptable_pci_route_interrupt(device_t pcib, device_t dev, int pin)
126{
127
128 return (0);
129}
130
113 NULL);
114
115
116
117int
118mptable_pci_probe_table(int bus)
119{
120
121 return (0);
122}
123
124int
125mptable_pci_route_interrupt(device_t pcib, device_t dev, int pin)
126{
127
128 return (0);
129}
130