acpivar.h (71001) | acpivar.h (71872) |
---|---|
1/*- 2 * Copyright (c) 2000 Mitsuru IWASAKI <iwasaki@jp.freebsd.org> 3 * Copyright (c) 2000 Michael Smith <msmith@freebsd.org> 4 * Copyright (c) 2000 BSDi 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 11 unchanged lines hidden (view full) --- 20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 * | 1/*- 2 * Copyright (c) 2000 Mitsuru IWASAKI <iwasaki@jp.freebsd.org> 3 * Copyright (c) 2000 Michael Smith <msmith@freebsd.org> 4 * Copyright (c) 2000 BSDi 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 11 unchanged lines hidden (view full) --- 20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 * |
28 * $FreeBSD: head/sys/dev/acpica/acpivar.h 71001 2001-01-13 21:28:57Z jhb $ | 28 * $FreeBSD: head/sys/dev/acpica/acpivar.h 71872 2001-01-31 09:30:57Z msmith $ |
29 */ 30 31#include "bus_if.h" 32#include <sys/eventhandler.h> 33#include <sys/sysctl.h> 34 35extern devclass_t acpi_devclass; 36 --- 121 unchanged lines hidden (view full) --- 158extern ACPI_STATUS acpi_GetIntoBuffer(ACPI_HANDLE handle, 159 ACPI_STATUS (*func)(ACPI_HANDLE, ACPI_BUFFER *), 160 ACPI_BUFFER *buf); 161extern ACPI_BUFFER *acpi_AllocBuffer(int size); 162extern ACPI_STATUS acpi_SetSleepState(struct acpi_softc *sc, int state); 163extern ACPI_STATUS acpi_Enable(struct acpi_softc *sc); 164extern ACPI_STATUS acpi_Disable(struct acpi_softc *sc); 165extern BOOLEAN acpi_DeviceIsPresent(device_t dev); | 29 */ 30 31#include "bus_if.h" 32#include <sys/eventhandler.h> 33#include <sys/sysctl.h> 34 35extern devclass_t acpi_devclass; 36 --- 121 unchanged lines hidden (view full) --- 158extern ACPI_STATUS acpi_GetIntoBuffer(ACPI_HANDLE handle, 159 ACPI_STATUS (*func)(ACPI_HANDLE, ACPI_BUFFER *), 160 ACPI_BUFFER *buf); 161extern ACPI_BUFFER *acpi_AllocBuffer(int size); 162extern ACPI_STATUS acpi_SetSleepState(struct acpi_softc *sc, int state); 163extern ACPI_STATUS acpi_Enable(struct acpi_softc *sc); 164extern ACPI_STATUS acpi_Disable(struct acpi_softc *sc); 165extern BOOLEAN acpi_DeviceIsPresent(device_t dev); |
166extern ACPI_STATUS acpi_EvaluateNumber(ACPI_HANDLE handle, char *path, int *number); | 166extern ACPI_STATUS acpi_EvaluateInteger(ACPI_HANDLE handle, char *path, int *number); |
167 168struct acpi_parse_resource_set { 169 void (* set_init)(device_t dev, void **context); 170 void (* set_done)(device_t dev, void *context); 171 void (* set_ioport)(device_t dev, void *context, u_int32_t base, u_int32_t length); 172 void (* set_iorange)(device_t dev, void *context, u_int32_t low, u_int32_t high, 173 u_int32_t length, u_int32_t align); 174 void (* set_memory)(device_t dev, void *context, u_int32_t base, u_int32_t length); --- 51 unchanged lines hidden --- | 167 168struct acpi_parse_resource_set { 169 void (* set_init)(device_t dev, void **context); 170 void (* set_done)(device_t dev, void *context); 171 void (* set_ioport)(device_t dev, void *context, u_int32_t base, u_int32_t length); 172 void (* set_iorange)(device_t dev, void *context, u_int32_t low, u_int32_t high, 173 u_int32_t length, u_int32_t align); 174 void (* set_memory)(device_t dev, void *context, u_int32_t base, u_int32_t length); --- 51 unchanged lines hidden --- |