Print this page
XXXX pass in cpu_pause_func via pause_cpus

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/os/mp_pc.c
          +++ new/usr/src/uts/i86pc/os/mp_pc.c
↓ open down ↓ 55 lines elided ↑ open up ↑
  56   56  
  57   57  extern cpuset_t cpu_ready_set;
  58   58  
  59   59  extern int  mp_start_cpu_common(cpu_t *cp, boolean_t boot);
  60   60  extern void real_mode_start_cpu(void);
  61   61  extern void real_mode_start_cpu_end(void);
  62   62  extern void real_mode_stop_cpu_stage1(void);
  63   63  extern void real_mode_stop_cpu_stage1_end(void);
  64   64  extern void real_mode_stop_cpu_stage2(void);
  65   65  extern void real_mode_stop_cpu_stage2_end(void);
  66      -extern void *(*cpu_pause_func)(void *);
  67   66  
  68   67  void rmp_gdt_init(rm_platter_t *);
  69   68  
  70   69  /*
  71   70   * Fill up the real mode platter to make it easy for real mode code to
  72   71   * kick it off. This area should really be one passed by boot to kernel
  73   72   * and guaranteed to be below 1MB and aligned to 16 bytes. Should also
  74   73   * have identical physical and virtual address in paged mode.
  75   74   */
  76   75  static ushort_t *warm_reset_vector = NULL;
↓ open down ↓ 584 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX