Share via


Required OAL Functions (Compact 2013)

10/16/2014

The following table shows the OEM adaption layer (OAL) functions that the kernel library, Nk.lib, requires.

Note

This list does not include all OAL functions. OEMs can implement additional functions to enhance platform support.

Programming element

Description

OEMARMCacheMode

Sets the cache mode used to build the ARM CPU page tables.

OEMCacheRangeFlush

Flushes or invalidates a certain range of the cache or translation look-aside buffer (TLB).

OEMGetExtensionDRAM

Gets information about extension dynamic RAM (DRAM) if present on the target device.

OEMGetRealTime

Retrieves the time from the real-time clock (RTC).

OEMGetTickCount

Retrieves the number of milliseconds that have elapsed since Windows Embedded Compact was started.

OEMInit

Initializes all hardware interfaces for the device.

OEMInterruptDisable

Disables the specified hardware interrupt.

OEMInterruptDone

Signals completion of interrupt processing.

OEMInterruptEnable

Performs hardware operations necessary to enable the specified hardware interrupt.

OEMInterruptHandler

Provides all interrupt service routine (ISR) functionality for ARM-based platforms.

OEMInterruptHandlerFIQ

Provides fast interrupt request (FIQ) support for the ARM microprocessor.

OEMInterruptMask

Masks or unmasks the interrupt according to its system interrupt (SYSINTR) value.

OEMInitDebugSerial

Initializes the debug serial port on the device.

OEMIoControl

Provides a generic I/O control code (IOCTL) for OEM-supplied information.

OEMNMIHandler

Enables a nonmaskable interrupt (NMI) to be captured by an OEM.

OEMPowerOff

Invoked when the user presses the OFF button or the Graphics, Windowing, and Events Subsystem (GWES) times out on its power-down timer.

OEMSetAlarmTime

Sets the real-time clock alarm. .

OEMSetRealTime

Sets the real-time clock.

OEMWriteDebugByte

Writes a byte to the debug monitor port.

OEMWriteDebugString

Writes a string to the debug monitor port.

For more information, see CPU Dependencies for OAL Functions.

See Also

Reference

OAL Functions