fdt_mips.c revision 226496
1280288Sjkim/*- 2280288Sjkim * Copyright (c) 2009-2010 The FreeBSD Foundation 3280288Sjkim * All rights reserved. 4280288Sjkim * 5280288Sjkim * This software was developed by Semihalf under sponsorship from 6280288Sjkim * the FreeBSD Foundation. 7280288Sjkim * 8280288Sjkim * Redistribution and use in source and binary forms, with or without 9280288Sjkim * modification, are permitted provided that the following conditions 10280288Sjkim * are met: 11280288Sjkim * 1. Redistributions of source code must retain the above copyright 12280288Sjkim * notice, this list of conditions and the following disclaimer. 13280288Sjkim * 2. Redistributions in binary form must reproduce the above copyright 14280288Sjkim * notice, this list of conditions and the following disclaimer in the 15280288Sjkim * documentation and/or other materials provided with the distribution. 16280288Sjkim * 17280288Sjkim * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 18280288Sjkim * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19280288Sjkim * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20280288Sjkim * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 21280288Sjkim * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22280288Sjkim * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23280288Sjkim * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24280288Sjkim * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25280288Sjkim * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26280288Sjkim * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27280288Sjkim * SUCH DAMAGE. 28280288Sjkim */ 29280288Sjkim 30280288Sjkim#include <sys/cdefs.h> 31280288Sjkim__FBSDID("$FreeBSD: head/sys/dev/fdt/fdt_mips.c 226496 2011-10-18 07:29:21Z jchandra $"); 32280288Sjkim 33280288Sjkim#include <sys/param.h> 34280288Sjkim#include <sys/systm.h> 35280288Sjkim#include <sys/kernel.h> 36280288Sjkim#include <sys/module.h> 37280288Sjkim#include <sys/bus.h> 38280288Sjkim 39280288Sjkim#include <machine/intr_machdep.h> 40280288Sjkim 41280288Sjkim#include <dev/ofw/ofw_bus.h> 42280288Sjkim#include <dev/ofw/ofw_bus_subr.h> 43280288Sjkim#include <dev/ofw/openfirm.h> 44280288Sjkim 45280288Sjkim#include "ofw_bus_if.h" 46280288Sjkim#include "fdt_common.h" 47280288Sjkim 48280288Sjkimstruct fdt_fixup_entry fdt_fixup_table[] = { 49280288Sjkim { NULL, NULL } 50280288Sjkim}; 51280288Sjkim 52280288Sjkimfdt_pic_decode_t fdt_pic_table[] = { 53280288Sjkim NULL, 54280288Sjkim NULL, 55280288Sjkim NULL 56280288Sjkim}; 57280288Sjkim