i386_module.c revision 215016
117721Speter/*- 217721Speter * Copyright (c) 1998 Michael Smith <msmith@freebsd.org> 317721Speter * All rights reserved. 417721Speter * 517721Speter * Redistribution and use in source and binary forms, with or without 617721Speter * modification, are permitted provided that the following conditions 717721Speter * are met: 817721Speter * 1. Redistributions of source code must retain the above copyright 917721Speter * notice, this list of conditions and the following disclaimer. 1017721Speter * 2. Redistributions in binary form must reproduce the above copyright 1117721Speter * notice, this list of conditions and the following disclaimer in the 1217721Speter * documentation and/or other materials provided with the distribution. 1317721Speter * 1417721Speter * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1517721Speter * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1617721Speter * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1717721Speter * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1817721Speter * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1917721Speter * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2017721Speter * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2117721Speter * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2217721Speter * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2317721Speter * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2417721Speter * SUCH DAMAGE. 2517721Speter */ 2617721Speter 2717721Speter#include <sys/cdefs.h> 2817721Speter__FBSDID("$FreeBSD: head/sys/boot/i386/libi386/i386_module.c 215016 2010-11-08 21:50:45Z jhb $"); 2917721Speter 3017721Speter/* 3117721Speter * i386-specific module functionality. 3217721Speter * 3317721Speter */ 3417721Speter 3517721Speter#include <stand.h> 3617721Speter#include <string.h> 3717721Speter 3817721Speter#include "bootstrap.h" 3917721Speter#include "libi386.h" 4017721Speter 4117721Speter/* 4217721Speter * Use voodoo to load modules required by current hardware. 4317721Speter */ 4417721Speterint 4517721Speteri386_autoload(void) 4617721Speter{ 4717721Speter 4817721Speter /* XXX use PnP to locate stuff here */ 4917721Speter return(0); 5017721Speter} 5117721Speter