Print this page
XXXX pass in cpu_pause_func via pause_cpus

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/io/ppm/acpisleep.c
          +++ new/usr/src/uts/i86pc/io/ppm/acpisleep.c
↓ open down ↓ 62 lines elided ↑ open up ↑
  63   63  extern int boothowto;
  64   64  
  65   65  #define BOOTCPU 0       /* cpu 0 is always the boot cpu */
  66   66  
  67   67  extern void             kernel_wc_code(void);
  68   68  extern tod_ops_t        *tod_ops;
  69   69  extern int flushes_require_xcalls;
  70   70  extern int tsc_gethrtime_enable;
  71   71  
  72   72  extern cpuset_t cpu_ready_set;
  73      -extern void *(*cpu_pause_func)(void *);
  74      -
  75   73  
  76   74  
  77   75  /*
  78   76   * This is what we've all been waiting for!
  79   77   */
  80   78  int
  81   79  acpi_enter_sleepstate(s3a_t *s3ap)
  82   80  {
  83   81          ACPI_PHYSICAL_ADDRESS   wakephys = s3ap->s3a_wakephys;
  84   82          caddr_t                 wakevirt = rm_platter_va;
↓ open down ↓ 103 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX