Deleted Added
full compact
mptable.c (224120) mptable.c (255040)
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 224120 2011-07-17 01:23:50Z jhb $");
28__FBSDID("$FreeBSD: head/sys/i386/xen/mptable.c 255040 2013-08-29 19:52:18Z gibbs $");
29
30#include <sys/param.h>
31#include <sys/bus.h>
32#include <sys/kernel.h>
33
34#include <vm/vm.h>
35#include <vm/vm_param.h>
36#include <vm/pmap.h>
37
38#include <machine/frame.h>
39#include <machine/intr_machdep.h>
40#include <machine/apicvar.h>
41
42#include <xen/hypervisor.h>
29
30#include <sys/param.h>
31#include <sys/bus.h>
32#include <sys/kernel.h>
33
34#include <vm/vm.h>
35#include <vm/vm_param.h>
36#include <vm/pmap.h>
37
38#include <machine/frame.h>
39#include <machine/intr_machdep.h>
40#include <machine/apicvar.h>
41
42#include <xen/hypervisor.h>
43#include <machine/xen/xen-os.h>
43#include
44#include <machine/smp.h>
45#include <xen/interface/vcpu.h>
46
47
48static int mptable_probe(void);
49static int mptable_probe_cpus(void);
50static void mptable_register(void *dummy);
51static int mptable_setup_local(void);

--- 56 unchanged lines hidden ---
44#include <machine/smp.h>
45#include <xen/interface/vcpu.h>
46
47
48static int mptable_probe(void);
49static int mptable_probe_cpus(void);
50static void mptable_register(void *dummy);
51static int mptable_setup_local(void);

--- 56 unchanged lines hidden ---