OsdEnvironment.c revision 67760
11573Srgrimes/*- 21573Srgrimes * Copyright (c) 2000 Michael Smith 31573Srgrimes * Copyright (c) 2000 BSDi 41573Srgrimes * All rights reserved. 51573Srgrimes * 61573Srgrimes * Redistribution and use in source and binary forms, with or without 71573Srgrimes * modification, are permitted provided that the following conditions 81573Srgrimes * are met: 91573Srgrimes * 1. Redistributions of source code must retain the above copyright 101573Srgrimes * notice, this list of conditions and the following disclaimer. 111573Srgrimes * 2. Redistributions in binary form must reproduce the above copyright 121573Srgrimes * notice, this list of conditions and the following disclaimer in the 131573Srgrimes * documentation and/or other materials provided with the distribution. 141573Srgrimes * 151573Srgrimes * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 161573Srgrimes * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 171573Srgrimes * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 181573Srgrimes * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 191573Srgrimes * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 201573Srgrimes * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 211573Srgrimes * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 221573Srgrimes * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 231573Srgrimes * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 241573Srgrimes * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 251573Srgrimes * SUCH DAMAGE. 261573Srgrimes * 271573Srgrimes * $FreeBSD: head/sys/amd64/acpica/OsdEnvironment.c 67760 2000-10-28 06:56:15Z msmith $ 281573Srgrimes */ 291573Srgrimes 301573Srgrimes/* 311573Srgrimes * 6.1 : Environmental support 321573Srgrimes */ 331573Srgrimes 34176449Sdas#include "acpi.h" 3592887Sobrien 3692887Sobrien#ifdef __i386__ 371573Srgrimes#include <machine/pc/bios.h> 3892887Sobrien#endif 391573Srgrimes 401573SrgrimesACPI_STATUS 411573SrgrimesAcpiOsInitialize(void) 428870Srgrimes{ 431573Srgrimes#ifdef __i386__ 441573Srgrimes /* 451573Srgrimes * Prevent the PnP BIOS code from interfering with our own scan of ISA devices. 468870Srgrimes */ 478870Srgrimes PnPBIOStable = NULL; 481573Srgrimes#endif 491573Srgrimes return(NULL); 501573Srgrimes} 518870Srgrimes 521573SrgrimesACPI_STATUS 538870SrgrimesAcpiOsTerminate(void) 541573Srgrimes{ 551573Srgrimes return(NULL); 568870Srgrimes} 571573Srgrimes