CEProcessorType (Windows Embedded CE 6.0)

1/5/2010

This global variable is used by the kernel to assign the microprocessor type to the dwProcessorType member of SYSTEM_INFO.

Syntax

extern DWORD CEProcessorType;

Parameters

None.

Return Value

None.

Remarks

When CEProcessorType is declared, you set the value of CEProcessorType to the microprocessor type of your platform before the kernel is initialized.

The kernel then copies the value of CEProcessorType to the dwProcessorType member of SYSTEM_INFO.

The following table shows supported processor types based on microprocessor architecture and microprocessor type. It also shows the target CPU type that an OEM specifies to build a particular version of Windows Embedded CE. For more information, see Wince.bat in %_WINCEROOT%\Public\Common\Oak\Misc.

wProcessorArchitecture CEProcessorType Target CPU

PROCESSOR_ARCHITECTURE_INTEL

PROCESSOR_INTEL_386

Intel 80386

PROCESSOR_ARCHITECTURE_INTEL

PROCESSOR_INTEL_486

Intel 80486

PROCESSOR_ARCHITECTURE_INTEL

PROCESSOR_INTEL_PENTIUM

Intel Pentium

PROCESSOR_ARCHITECTURE_INTEL

PROCESSOR_INTEL_PENTIUMII

Intel Pentium II

PROCESSOR_ARCHITECTURE_MIPS

PROCESSOR_MIPS_R4000

MIPS R4000 including R4101 and R3910

PROCESSOR_ARCHITECTURE_MIPS

PROCESSOR_MIPS_R5000

MIPS R5000 including R5432

PROCESSOR_ARCHITECTURE_SHX

PROCESSOR_HITACHI_SH3

Not supported

PROCESSOR_ARCHITECTURE_SHX

PROCESSOR_HITACHI_SH3E

Not supported

PROCESSOR_ARCHITECTURE_SHX

PROCESSOR_HITACHI_SH4

SH4 (Hitachi brand)

PROCESSOR_ARCHITECTURE_SHX

PROCESSOR_SHx_SH3

Not supported

PROCESSOR_ARCHITECTURE_SHX

PROCESSOR_SHx_SH3DSP

Not supported

PROCESSOR_ARCHITECTURE_SHX

PROCESSOR_SHx_SH4

SH4

PROCESSOR_ARCHITECTURE_ARM

PROCESSOR_ARM720

ARM720

ARMV4I and ARMV4 architecture

PROCESSOR_ARCHITECTURE_ARM

PROCESSOR_ARM920

ARM920

ARMV4I and ARMV4 architecture

PROCESSOR_ARCHITECTURE_ARM

PROCESSOR_ARM7TDMI

ARM7 TDMI

ARMV4I and ARMV4 architecture

The IOCTL_PROCESSOR_INFORMATION I/O control is provided to allow OEMs to present the full name of the CPU to an application.

Using IOCTL_PROCESSOR_INFORMATION with GetSystemInfo provides all of the CPU information that is required of applications and users.

This functionality is only needed for applications like Wceload.exe, which can only interrupt Processor ID types defined in Winnt.h. This also enables ISVs to target a single CPU type that potentially target a variety of similar and compatible CPUs.

Requirements

Header nkarm.h
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

Optional OAL Variables

Other Resources

GetSystemInfo
SYSTEM_INFO