Compartilhar via


NKSendInterProcessorInterrupt (Compact 2013)

3/28/2014

This function sends a platform-specific interprocessor interrupt (IPI) to the specified processor.

Syntax

void
    NKSendInterProcessorInterrupt
    (
            DWORD dwType,
            DWORD dwTarget,
            DWORD dwCommand,
            DWORD dwData
    );

Parameters

  • dwType
    Type of IPI to be sent. The following table shows possible values.

    Value

    Description

    IPI_TYPE_ALL_BUT_SELF

    The IPI is to be sent to all other processors.

    IPI_TYPE_ALL_INCLUDE_SELF

    The IPI is to be sent to all processors.

    IPI_TYPE_SPECIFIC_CPU

    The IPI is to be sent to the specified processor.

  • dwTarget
    Specifies the hardware ID of the processor to which the IPI is to be sent. This parameter is used only if dwType is set to IPI_TYPE_SPECIFIC_CPU. Otherwise, it is ignored.
  • dwCommand
    Platform-specific IPI command to be sent. This value must be equal to or greater than OEM_FIRST_IPI_COMMAND. This value is passed to the platform-specific IPI handler (the pfnIpiHandler variable of OEMGlobal) for the specified processor.
  • dwData
    OEM-defined 32-bit value to be passed to the IPI handler for the specified processor.

Return Value

None.

Remarks

The dwCommand and dwData parameters are passed to the IPI handler running on the specified processor.

Requirements

Header

nkglobal.h

Library

Nkstub.lib

See Also

Reference

SMP Functions
NKAcquireOalSpinLock
NKReleaseOalSpinLock