1/*- 2 * Copyright (c) 2001 Mitsuru IWASAKI 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/i386/acpica/acpi_machdep.c 112551 2003-03-24 19:14:46Z mdodd $ |
27 */ 28 29#include <sys/param.h> 30#include <sys/bus.h> 31#include <sys/conf.h> 32#include <sys/fcntl.h> 33#include <sys/uio.h> 34 --- 12 unchanged lines hidden (view full) --- 47#include <sys/select.h> 48#else 49#include <sys/selinfo.h> 50#endif 51 52#include <machine/apm_bios.h> 53#include <machine/pc/bios.h> 54 |
55#include <i386/bios/apm.h> |
56 57static struct apm_softc apm_softc; 58 59static d_open_t apmopen; 60static d_close_t apmclose; 61static d_write_t apmwrite; 62static d_ioctl_t apmioctl; 63static d_poll_t apmpoll; --- 279 unchanged lines hidden --- |