Partager via


CEProcessorType

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

extern DWORD CEProcessorType;

Remarks

Once CEProcessorType is declared, you set the value of CEProcessorType to the microprocessor type of your platform before the kernel is initialized. This variable is only supported on the x86 and ARM kernels. The kernel will then copy the value of CEProcessorType to the dwProcessorType member of SYSTEM_INFO. The following table shows the currently supported processor types based on microprocessor architecture and microprocessor type. In addition, it shows the target CPU type that an OEM specifies to build a particular version of Windows CE. For more information, see Wince.bat in %_WINCEROOT%\Public\Common\Oak\Misc.

wProcessorArchitecture CEProcessorType Target CPU
PROCESSOR_ARCHITECTURE_ARM PROCESSOR_ARM720 ARMV4I and ARMV4T
PROCESSOR_ARCHITECTURE_ARM PROCESSOR_STRONGARM ARMV4
PROCESSOR_ARCHITECTURE_INTEL PROCESSOR_INTEL_486 i486

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 in conjunction with GetSystemInfo provides all the CPU information that is required of applications and end 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

OS Versions: Windows CE 3.0 and later.
Header: Nkarm.h.

See Also

GetSystemInfo | SYSTEM_INFO

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.