Share via


Creating an Interrupt Identifier

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

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

In addition to using the predefined interrupt identifiers, you can define identifiers in your OAL for your custom target devices.

To create an interrupt identifier

  1. Create a file named Oalintr.h

  2. Define your non-kernel interrupt identifiers in Oalintr.h relative to the value SYSINTR_FIRMWARE.

    For example, you could define the value of an interrupt identifier as SYSINTR_FIRMWARE+1.

    The maximum value of an interrupt identifier should be less than SYSINTR_MAXUMUM or SYSINTR_FIRMWARE+23.

The interrupt identifiers reside in the Oalintr.h file.

For device drivers that need an interrupt identifier, call IOCTL_HAL_REQUEST_SYSINTR or IOCTL_HAL_RELEASE_SYSINTR without using a hard coded or static value so that the device drivers can be more portable.

See Also

Tasks

How to Develop an OEM Adaptation Layer

Concepts

Implementing an ISR