OsdEnvironment.c revision 67760
1104862Sru/*- 2104862Sru * Copyright (c) 2000 Michael Smith 3104862Sru * Copyright (c) 2000 BSDi 4104862Sru * All rights reserved. 5104862Sru * 6104862Sru * Redistribution and use in source and binary forms, with or without 7104862Sru * modification, are permitted provided that the following conditions 8104862Sru * are met: 9104862Sru * 1. Redistributions of source code must retain the above copyright 10104862Sru * notice, this list of conditions and the following disclaimer. 11104862Sru * 2. Redistributions in binary form must reproduce the above copyright 12104862Sru * notice, this list of conditions and the following disclaimer in the 13104862Sru * documentation and/or other materials provided with the distribution. 14104862Sru * 15104862Sru * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 16104862Sru * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17104862Sru * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18104862Sru * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19104862Sru * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20104862Sru * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21104862Sru * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22104862Sru * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23104862Sru * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24104862Sru * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25104862Sru * SUCH DAMAGE. 26104862Sru * 27104862Sru * $FreeBSD: head/sys/amd64/acpica/OsdEnvironment.c 67760 2000-10-28 06:56:15Z msmith $ 28104862Sru */ 29104862Sru 30104862Sru/* 31104862Sru * 6.1 : Environmental support 32114402Sru */ 33104862Sru 34104862Sru#include "acpi.h" 35104862Sru 36104862Sru#ifdef __i386__ 37104862Sru#include <machine/pc/bios.h> 38104862Sru#endif 39104862Sru 40104862SruACPI_STATUS 41114402SruAcpiOsInitialize(void) 42114402Sru{ 43104862Sru#ifdef __i386__ 44114402Sru /* 45104862Sru * Prevent the PnP BIOS code from interfering with our own scan of ISA devices. 46104862Sru */ 47104862Sru PnPBIOStable = NULL; 48114402Sru#endif 49104862Sru return(NULL); 50104862Sru} 51114402Sru 52114402SruACPI_STATUS 53104862SruAcpiOsTerminate(void) 54114402Sru{ 55114402Sru return(NULL); 56114402Sru} 57114402Sru