Print this page
update

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/os/mp_startup.c
          +++ new/usr/src/uts/i86pc/os/mp_startup.c
↓ open down ↓ 19 lines elided ↑ open up ↑
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24   */
  25   25  /*
  26   26   * Copyright (c) 2010, Intel Corporation.
  27   27   * All rights reserved.
  28   28   */
  29   29  /*
  30      - * Copyright 2019 Joyent, Inc.
       30 + * Copyright 2020 Joyent, Inc.
  31   31   * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
  32   32   * Copyright 2018 OmniOS Community Edition (OmniOSce) Association.
  33   33   */
  34   34  
  35   35  #include <sys/types.h>
  36   36  #include <sys/thread.h>
  37   37  #include <sys/cpuvar.h>
  38   38  #include <sys/cpu.h>
  39   39  #include <sys/t_lock.h>
  40   40  #include <sys/param.h>
↓ open down ↓ 1813 lines elided ↑ open up ↑
1854 1854                  cp->cpu_flags &= ~CPU_OFFLINE;
1855 1855                  cpu_enable_intr(cp);
1856 1856                  cpu_add_active(cp);
1857 1857                  mutex_exit(&cpu_lock);
1858 1858          }
1859 1859  
1860 1860          /* Enable interrupts */
1861 1861          (void) spl0();
1862 1862  
1863 1863          /*
1864      -         * Fill out cpu_ucode_info.  Update microcode if necessary.
     1864 +         * Fill out cpu_ucode_info.  Update microcode if necessary. Note that
     1865 +         * this is done after pass1 on the boot CPU, but it needs to be later on
     1866 +         * for the other CPUs.
1865 1867           */
1866 1868          ucode_check(cp);
1867 1869          cpuid_pass_ucode(cp, new_x86_featureset);
1868 1870  
1869 1871          /*
1870 1872           * Do a sanity check to make sure this new CPU is a sane thing
1871 1873           * to add to the collection of processors running this system.
1872 1874           *
1873 1875           * XXX  Clearly this needs to get more sophisticated, if x86
1874 1876           * systems start to get built out of heterogenous CPUs; as is
↓ open down ↓ 260 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX