Print this page
PANKOVs restructure


  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 
  22 /*
  23  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24  * Use is subject to license terms.
  25  */
  26 /*
  27  * Copyright (c) 2009, Intel Corporation.
  28  * All rights reserved.
  29  */
  30 
  31 #ifndef _SYS_ACPIDEV_RSC_H
  32 #define _SYS_ACPIDEV_RSC_H
  33 #include <sys/types.h>
  34 #include <sys/obpdefs.h>
  35 #include <sys/sunddi.h>
  36 #include <sys/acpi/acpi.h>
  37 #include <sys/acpica.h>
  38 
  39 #ifdef __cplusplus
  40 extern "C" {
  41 #endif
  42 
  43 /* ACPI bus range structure. */
  44 typedef struct acpidev_bus_range {
  45         uint_t  bus_start;
  46         uint_t  bus_end;
  47 } acpidev_bus_range_t;
  48 
  49 /*
  50  * This structure is modeled after the 1275 "reg" property and
  51  * "assigned-addresses" property for PCI device nodes.
  52  * There's no standard definition available for ACPI devices.
  53  * This structure is used to store resources returned by the ACPI
  54  * _CRS method.
  55  *
  56  * The physical address format is:




  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 
  22 /*
  23  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24  * Use is subject to license terms.
  25  */
  26 /*
  27  * Copyright (c) 2009, Intel Corporation.
  28  * All rights reserved.
  29  */
  30 
  31 #ifndef _SYS_ACPIDEV_RSC_H
  32 #define _SYS_ACPIDEV_RSC_H
  33 #include <sys/types.h>
  34 #include <sys/obpdefs.h>
  35 #include <sys/sunddi.h>
  36 #include <acpica/include/acpi.h>
  37 #include <sys/acpica.h>
  38 
  39 #ifdef __cplusplus
  40 extern "C" {
  41 #endif
  42 
  43 /* ACPI bus range structure. */
  44 typedef struct acpidev_bus_range {
  45         uint_t  bus_start;
  46         uint_t  bus_end;
  47 } acpidev_bus_range_t;
  48 
  49 /*
  50  * This structure is modeled after the 1275 "reg" property and
  51  * "assigned-addresses" property for PCI device nodes.
  52  * There's no standard definition available for ACPI devices.
  53  * This structure is used to store resources returned by the ACPI
  54  * _CRS method.
  55  *
  56  * The physical address format is: