Print this page
OS-4368 lxbrand glibc abhors CPUID limits

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man7d/cpuid.7d.man.txt
          +++ new/usr/src/man/man7d/cpuid.7d.man.txt
↓ open down ↓ 33 lines elided ↑ open up ↑
  34   34         be extracted from the CPU without having to write any assembler code to
  35   35         invoke the cpuid instruction directly. It also allows the kernel to
  36   36         attempt to correct any erroneous data returned by the instruction
  37   37         (prompted by occasional errors in the information exported by various
  38   38         processor implementations over the years).
  39   39  
  40   40         See the processor manufacturers documentation for further information
  41   41         about the syntax and semantics of the wide variety of information
  42   42         available from this instruction.
  43   43  
       44 +       Some systems can be configured to limit the cpuid opcodes which are
       45 +       accessible.  While illumos handles this condition, other software may
       46 +       malfunction when such limits are enabled.  Those settings are typically
       47 +       manipulated in the BIOS.
       48 +
  44   49  EXAMPLE
  45   50         This example allows you to determine if the current x86 processor
  46   51         supports "long mode," which is a necessary (but not sufficient)
  47   52         condition for running the 64-bit Solaris kernel on the processor.
  48   53  
  49   54           /*
  50   55  
  51   56           #include <sys/types.h>
  52   57           #include <sys/stat.h>
  53   58           #include <fcntl.h>
↓ open down ↓ 84 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX