Print this page
OS-4368 lxbrand glibc abhors CPUID limits

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man7d/cpuid.7d
          +++ new/usr/src/man/man7d/cpuid.7d
   1    1  '\" te
   2    2  .\" Copyright (c) 2004, Sun Microsystems, Inc.  All Rights Reserved
        3 +.\" Copyright 2015, Joyent, Inc.
   3    4  .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   4    5  .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   5    6  .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   6    7  .TH CPUID 7D "April 9, 2016"
   7    8  .SH NAME
   8    9  cpuid \- CPU identification driver
   9   10  .SH SYNOPSIS
  10   11  .LP
  11   12  .nf
  12   13  \fB/dev/cpu/self/cpuid\fR
↓ open down ↓ 23 lines elided ↑ open up ↑
  36   37  The device is useful to enable low-level configuration information to be
  37   38  extracted from the CPU without having to write any assembler code to invoke the
  38   39  \fBcpuid\fR instruction directly. It also allows the kernel to attempt to
  39   40  correct any erroneous data returned by the instruction (prompted by occasional
  40   41  errors in the information exported by various processor implementations over
  41   42  the years).
  42   43  .LP
  43   44  See the processor manufacturers documentation for further information about the
  44   45  syntax and semantics of the wide variety of information available from this
  45   46  instruction.
       47 +.LP
       48 +Some systems can be configured to limit the cpuid opcodes which are accessible.
       49 +While illumos handles this condition, other software may malfunction when such
       50 +limits are enabled.  Those settings are typically manipulated in the BIOS.
  46   51  .SH EXAMPLE
  47   52  .LP
  48   53  This example allows you to determine if the current x86 processor supports
  49   54  "long mode," which is a necessary (but not sufficient) condition for running
  50   55  the 64-bit Solaris kernel on the processor.
  51   56  .sp
  52   57  .in +2
  53   58  .nf
  54   59  /*
  55   60  
↓ open down ↓ 100 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX