Partager via


GLOBAL_TARGET_INFO_STRUCT2 (Windows Embedded CE 6.0)

1/5/2010

This structure defines processor information about the target device and the probe.

Syntax

typedef struct _GLOBAL_TARGET_INFO_STRUCT2 {
  DWORD dwTargetCpuMajorFamily;
  DWORD dwTargetCpuCapabilities;
  DWORD dwNumberOfCpus;
  LPOLESTR szTargetName;
  LPOLESTR szProbeName;
} GLOBAL_TARGET_INFO_STRUCT2;

Parameters

  • dwTargetCpuMajorFamily
    The CPU architecture family. For specific values, see Remarks.If the driver supports multiple CPU families, this field should be CPUF_UNK until the processor in the target is clearly identified.
  • dwTargetCpuCapabilities
    Description of target CPU capabilities. For specific values, see Remarks.
  • dwNumberOfCpus
    Number of CPUs.For a symmetric multiprocessor platform (SMP), this parameter must be greater than 1.
  • szTargetName
    Name of debugging target.
  • szProbeName
    Name of hardware probe.

Remarks

The following table shows possible values for dwTargetCpuMajorFamily.

Programming element Value Description

CPUF_X86

0

x86 processor family

CPUF_SHX

1

SH-4 processor family

CPUF_MIPS

2

MIPS processor family

CPUF_ARM

3

ARM processor family

CPUF_IA64

4

IA64 processor family

CPUF_UNK

0xFFFFFFF

Unknown processor family

The following table shows values for the dwTargetCpuMajorFamily bitfield mask for a generic CPU family.

Bitfield mask Value

CPUC_16BIT

0x00000001

CPUC_32BIT

0x00000002

CPUC_64BIT

0x00000004

CPUC_DSP

0x00000010

CPUC_FP

0x00001000

The following table shows values for the dwTargetCpuMajorFamily bitfield mask for the x86 CPU family.

Bitfield mask Value

CPUC_387

CPUC_FP

CPUC_AMD64

CPUC_64BIT

CPUC_MMX

CPUC_DSP

CPUC_MMX2

0x00000020

CPUC_SSE

0x00000040

CPUC_SSE2

0x00000080

The following table shows values for the dwTargetCpuMajorFamily bitfield mask for the Pentium CPU family.

Bitfield mask Value

CPUC_586

0x00000100

The following table shows values for the dwTargetCpuMajorFamily bitfield mask for the Pentium2, Pentium3, or Celeron CPU family.

Bitfield mask Value

CPUC_686

0x00000200

The following table shows values for the dwTargetCpuMajorFamily bitfield mask for the Pentium4 CPU family.

Bitfield mask Value

CPUC_786

0x00000400

The following table shows values for the dwTargetCpuMajorFamily bitfield mask for the SHX CPU family.

Bitfield mask Value

CPUC_SH3DSP

CPUC_DSP

CPUC_SH4

0x00000100

The following table shows values for the dwTargetCpuMajorFamily bitfield mask for the ARM CPU family.

Bitfield mask Value

CPUC_THUMB

CPUC_16BIT

CPUC_THUMB2

0x00000008

CPUC_CONCAN

CPUC_DSP

CPUC_V4

0x00000100

CPUC_V5

0x00000200

CPUC_V6

0x00000400

The following table shows values for the dwTargetCpuMajorFamily bitfield mask for the MIPS CPU family.

Bitfield mask Value

CPUC_MIPS16

CPUC_16BIT

Requirements

Header eXDI2.h
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

IeXDI2 Structures
IeXDI2 Interfaces