fdt_x86.c revision 250840
1250840Smarcel/*- 2250840Smarcel * Copyright (c) 2013 Juniper Networks, Inc. 3250840Smarcel * All rights reserved. 4250840Smarcel * 5250840Smarcel * Redistribution and use in source and binary forms, with or without 6250840Smarcel * modification, are permitted provided that the following conditions 7250840Smarcel * are met: 8250840Smarcel * 1. Redistributions of source code must retain the above copyright 9250840Smarcel * notice, this list of conditions and the following disclaimer. 10250840Smarcel * 2. Redistributions in binary form must reproduce the above copyright 11250840Smarcel * notice, this list of conditions and the following disclaimer in the 12250840Smarcel * documentation and/or other materials provided with the distribution. 13250840Smarcel * 14250840Smarcel * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15250840Smarcel * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16250840Smarcel * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17250840Smarcel * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18250840Smarcel * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19250840Smarcel * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20250840Smarcel * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21250840Smarcel * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22250840Smarcel * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23250840Smarcel * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24250840Smarcel * SUCH DAMAGE. 25250840Smarcel */ 26250840Smarcel 27250840Smarcel#include <sys/cdefs.h> 28250840Smarcel__FBSDID("$FreeBSD: head/sys/dev/fdt/fdt_x86.c 250840 2013-05-21 03:05:49Z marcel $"); 29250840Smarcel 30250840Smarcel#include <sys/param.h> 31250840Smarcel#include <sys/systm.h> 32250840Smarcel#include <sys/kernel.h> 33250840Smarcel#include <sys/module.h> 34250840Smarcel#include <sys/bus.h> 35250840Smarcel 36250840Smarcel#include <machine/intr_machdep.h> 37250840Smarcel 38250840Smarcel#include <dev/ofw/ofw_bus.h> 39250840Smarcel#include <dev/ofw/ofw_bus_subr.h> 40250840Smarcel#include <dev/ofw/openfirm.h> 41250840Smarcel 42250840Smarcel#include "ofw_bus_if.h" 43250840Smarcel#include "fdt_common.h" 44250840Smarcel 45250840Smarcelstruct fdt_fixup_entry fdt_fixup_table[] = { 46250840Smarcel { NULL, NULL } 47250840Smarcel}; 48250840Smarcel 49250840Smarcelfdt_pic_decode_t fdt_pic_table[] = { 50250840Smarcel NULL 51250840Smarcel}; 52