Print this page
PANKOVs restructure


  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 
  22 /*
  23  * Copyright (c) 2010, Intel Corporation.
  24  * All rights reserved.
  25  */
  26 /*
  27  * Interfaces to support System Board Dynamic Reconfiguration.
  28  */
  29 
  30 #ifndef _SYS_ACPIDEV_DR_H
  31 #define _SYS_ACPIDEV_DR_H
  32 #include <sys/types.h>
  33 #include <sys/obpdefs.h>
  34 #include <sys/cpuvar.h>
  35 #include <sys/memlist.h>
  36 #include <sys/sunddi.h>
  37 #include <sys/acpi/acpi.h>
  38 #include <sys/acpica.h>
  39 #include <sys/acpidev.h>
  40 #include <sys/acpidev_rsc.h>
  41 
  42 #ifdef __cplusplus
  43 extern "C" {
  44 #endif
  45 
  46 #ifdef  _KERNEL
  47 
  48 /* Maximum number of DR capable system boards supported. */
  49 #define ACPIDEV_DR_MAX_BOARDS           0x40
  50 #define ACPIDEV_DR_SEGS_PER_MEM_DEV     0x10
  51 #define ACPIDEV_DR_MEMLISTS_PER_SEG     0x10
  52 #define ACPIDEV_DR_MAX_MEMLIST_ENTRIES  0x10000
  53 
  54 #define ACPIDEV_DR_PROP_PORTID          "portid"
  55 #define ACPIDEV_DR_PROP_BOARDNUM        OBP_BOARDNUM
  56 #define ACPIDEV_DR_PROP_DEVNAME         OBP_NAME
  57 




  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 
  22 /*
  23  * Copyright (c) 2010, Intel Corporation.
  24  * All rights reserved.
  25  */
  26 /*
  27  * Interfaces to support System Board Dynamic Reconfiguration.
  28  */
  29 
  30 #ifndef _SYS_ACPIDEV_DR_H
  31 #define _SYS_ACPIDEV_DR_H
  32 #include <sys/types.h>
  33 #include <sys/obpdefs.h>
  34 #include <sys/cpuvar.h>
  35 #include <sys/memlist.h>
  36 #include <sys/sunddi.h>
  37 #include <acpica/include/acpi.h>
  38 #include <sys/acpica.h>
  39 #include <sys/acpidev.h>
  40 #include <sys/acpidev_rsc.h>
  41 
  42 #ifdef __cplusplus
  43 extern "C" {
  44 #endif
  45 
  46 #ifdef  _KERNEL
  47 
  48 /* Maximum number of DR capable system boards supported. */
  49 #define ACPIDEV_DR_MAX_BOARDS           0x40
  50 #define ACPIDEV_DR_SEGS_PER_MEM_DEV     0x10
  51 #define ACPIDEV_DR_MEMLISTS_PER_SEG     0x10
  52 #define ACPIDEV_DR_MAX_MEMLIST_ENTRIES  0x10000
  53 
  54 #define ACPIDEV_DR_PROP_PORTID          "portid"
  55 #define ACPIDEV_DR_PROP_BOARDNUM        OBP_BOARDNUM
  56 #define ACPIDEV_DR_PROP_DEVNAME         OBP_NAME
  57