Share via


Optional OAL Variables

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

The following table shows the optional OAL variables.

Programming element Description

cbNKCoProcRegSize

This global variable describes the size of the memory allocation, in bytes, needed for the OEM to save or restore coprocessor registers.

CEProcessorType

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

curridlehigh

This global variable contains the high DWORD of the 64-bit idle time, in milliseconds. It supports GetIdleTime.

curridlelow

This global variable contains the low DWORD of the 64-bit idle time, in milliseconds. It supports GetIdleTime.

dwCeLogLargeBuf

This global variable adjusts the size of the main logging buffer.

dwCeLogSmallBuf

This global variable adjusts the size of the secondary logging buffer. It is used by the OEM.

dwCeLogTLBMiss

This global variable specifies how many translation look-aside buffer (TLB) misses have occurred for the last thread that was running.

dwDefaultThreadQuantum

This variable sets the default thread quantum of all threads.

dwNKAlarmResolutionMSec

This variable specifies the resolution of the kernel alarm timer to 1 second. It is used by the OEM.

dwNKDrWatsonSize

This variable specifies the amount of memory for the Windows Embedded CE Error Reporting dump area.

dwNKMaxPrioNoScav

This variable defines the highest priority for a thread that should not incur stack space recovery.

dwNKWatchDogThreadPriority

This variable specifies a kernel watchdog thread.

dwOEMCleanPages

This variable signals to the kernel how much memory should be zeroed to enable the device to boot.

dwOEMWatchDogPeriod

This variable specifies the watchdog period, in milliseconds, where the hardware watchdog must be refreshed before system resets.

fNKSaveCoProcReg

This global variable tells the kernel when the save or restore of coprocessors registers is performed.

idleconv

This global variable supports GetIdleTime. It is a translation constant in one-millisecond units.

DiffMSec

Obsolete. This global variable indicates the number of milliseconds since the last time that the scheduler examined the sleep queue.

It is not used in Windows CE .NET 4.0 and later.

dwNKCoProcEnableBits

This variable identifies additional coprocessors that should be enabled and disabled when required. It is specific to MIPS processors and is used by OEMs.

dwOEMPTPoolSize

Obsolete. This variable defines the page table pool size in pages.

It is not used in Windows CE .NET 4.2 and later.

dwPartialDiffMSec

Obsolete. This variable indicates the amount of time that has passed since the last time the scheduler has examined the sleep queue. It is used in conjunction with DiffMSec.

dwPreempt

Obsolete. This global variable specifies the number of milliseconds until a thread can be preempted.

dwSleepMin

Obsolete. This global variable specifies the number of milliseconds until the first sleep, if any, expires, requiring a reschedule.

fUseIterations

Obsolete. This variable creates delays with iterations.

If OEMEthGetSecs works with interrupts off, set this flag to FALSE. Otherwise, declare the flag in OEMInit and set the value to TRUE.

MainMemoryEndAddress

This global variable specifies the next available address following the first available contiguous block of memory.

OEMMemoryMap

Obsolete. This global variable array provides virtual-to-physical mapping. Use OEMAddressTable instead.

OEMTLBSize

This variable defines how many translation look-aside buffer (TLB) entries are supported. It is declared by the OEM.

pfnOEMIsRom

This variable is a pointer to an OEMIsRom function.

See Also

Reference

OAL Global Variables