次の方法で共有


PROCESSOR_INFO (Compact 2013)

3/28/2014

This structure stores information that describes the microprocessor.

Syntax

typedef __PROCESSOR_INFO {
  WORD wVersion; 
  WCHAR szProcessCore[40];
  WORD wCoreRevision;
  WCHAR szProcessorName[40];
  WORD wProcessorRevision;
  WCAHR szCatalogNumber[100];
  WCHAR szVendor[100];
  DWORD dwInstructionSet;
  DWORD dwClockSpeed;
} PROCESSOR_INFO, *PPROCESSOR_INFO;

Members

  • wVersion
    Must be set to 1.

    Required.

  • szProcessCore
    Name of the microprocessor core (for example, ARM).

    Optional.

  • wCoreRevision
    Revision number of the microprocessor core.

    Optional.

  • szProcessorName
    Set to the actual microprocessor name, for example, ARM720T.

    Optional.

  • wProcessorRevision
    Microprocessor revision number.

    Optional.

  • szCatalogNumber
    Set to the catalog number for the processor.

    Optional.

  • szVendor
    Set to the name of the microprocessor vendor.

    Optional.

  • dwInstructionSet
    Required.

    The following flags are possible for this microprocessor.

    Flag

    Description

    PROCESSOR_FLOATINGPOINT

    The microprocessor has hardware floating point enabled.

    This flag is set if the WprocessorLevelmember of the SYSTEM_INFO structure indicates that the current microprocessor is an x86 with hardware floating point.

    PROCESSOR_DSP

    The microprocessor has DSP support enabled.

    If your device has a DSP that can be used by an application, this should be reported by setting this flag.

  • dwClockSpeed
    Maximum clock speed of the CPU.

    Not required.

Requirements

Header

pkfuncs.h

See Also

Reference

Kernel Structures
SYSTEM_INFO

Other Resources

OAL Structures
IOCTL_PROCESSOR_INFORMATION