Print this page
PANKOVs restructure


  23  * Copyright (c) 2010, Intel Corporation.
  24  * All rights reserved.
  25  */
  26 
  27 #include <sys/types.h>
  28 #include <sys/atomic.h>
  29 #include <sys/cmn_err.h>
  30 #include <sys/cpuvar.h>
  31 #include <sys/memlist.h>
  32 #include <sys/memlist_impl.h>
  33 #include <sys/note.h>
  34 #include <sys/obpdefs.h>
  35 #include <sys/synch.h>
  36 #include <sys/sysmacros.h>
  37 #include <sys/sunddi.h>
  38 #include <sys/sunndi.h>
  39 #include <sys/x86_archext.h>
  40 #include <sys/machsystm.h>
  41 #include <sys/memnode.h>  /* for lgrp_plat_node_cnt */
  42 #include <sys/psm_types.h>
  43 #include <sys/acpi/acpi.h>
  44 #include <sys/acpica.h>
  45 #include <sys/acpidev.h>
  46 #include <sys/acpidev_rsc.h>
  47 #include <sys/acpidev_dr.h>
  48 #include <sys/acpidev_impl.h>
  49 
  50 struct acpidev_dr_set_prop_arg {
  51         uint32_t        level;
  52         uint32_t        bdnum;
  53         uint32_t        cpu_id;
  54         uint32_t        mem_id;
  55         uint32_t        io_id;
  56         uint32_t        mod_id;
  57 };
  58 
  59 struct acpidev_dr_device_remove_arg {
  60         uint32_t        level;
  61 };
  62 
  63 extern int acpidev_options;




  23  * Copyright (c) 2010, Intel Corporation.
  24  * All rights reserved.
  25  */
  26 
  27 #include <sys/types.h>
  28 #include <sys/atomic.h>
  29 #include <sys/cmn_err.h>
  30 #include <sys/cpuvar.h>
  31 #include <sys/memlist.h>
  32 #include <sys/memlist_impl.h>
  33 #include <sys/note.h>
  34 #include <sys/obpdefs.h>
  35 #include <sys/synch.h>
  36 #include <sys/sysmacros.h>
  37 #include <sys/sunddi.h>
  38 #include <sys/sunndi.h>
  39 #include <sys/x86_archext.h>
  40 #include <sys/machsystm.h>
  41 #include <sys/memnode.h>  /* for lgrp_plat_node_cnt */
  42 #include <sys/psm_types.h>
  43 #include <acpica/include/acpi.h>
  44 #include <sys/acpica.h>
  45 #include <sys/acpidev.h>
  46 #include <sys/acpidev_rsc.h>
  47 #include <sys/acpidev_dr.h>
  48 #include <sys/acpidev_impl.h>
  49 
  50 struct acpidev_dr_set_prop_arg {
  51         uint32_t        level;
  52         uint32_t        bdnum;
  53         uint32_t        cpu_id;
  54         uint32_t        mem_id;
  55         uint32_t        io_id;
  56         uint32_t        mod_id;
  57 };
  58 
  59 struct acpidev_dr_device_remove_arg {
  60         uint32_t        level;
  61 };
  62 
  63 extern int acpidev_options;