mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.3 KiB
62 lines
1.3 KiB
// TITLE("Fast Event Pair Support")
|
|
//++
|
|
//
|
|
// Copyright (c) 1992 Microsoft Corporation
|
|
// Copyright (c) 1993 Digital Equipment Corporation
|
|
//
|
|
// Module Name:
|
|
//
|
|
// evpair.s
|
|
//
|
|
// Abstract:
|
|
//
|
|
// This module contains the system call interface for the fast event pair
|
|
// system service that is used from the client side.
|
|
//
|
|
// Author:
|
|
//
|
|
// David N. Cutler (davec) 29-Oct-1992
|
|
// Joe Notarangelo 20-Feb-1993 (Alpha AXP version)
|
|
//
|
|
// Environment:
|
|
//
|
|
// Kernel mode.
|
|
//
|
|
// Revision History:
|
|
//
|
|
//--
|
|
|
|
#include "ksalpha.h"
|
|
|
|
SBTTL("Set Low Wait High Thread")
|
|
//++
|
|
//
|
|
// NTSTATUS
|
|
// XySetLowWaitHighThread (
|
|
// )
|
|
//
|
|
// Routine Description:
|
|
//
|
|
// This function calls the fast event pair system service.
|
|
//
|
|
// N.B. The return from this routine is directly to the caller.
|
|
//
|
|
// Arguments:
|
|
//
|
|
// None.
|
|
//
|
|
// Return Value:
|
|
//
|
|
// STATUS_NO_EVENT_PAIR is returned if no event pair is associated with
|
|
// the current thread. Otherwise, the status of the wait operation is
|
|
// returned as the function value.
|
|
//
|
|
//
|
|
//--
|
|
|
|
LEAF_ENTRY(XySetLowWaitHighThread)
|
|
|
|
ldil v0,SET_LOW_WAIT_HIGH // set system service number
|
|
SYSCALL // call system service
|
|
|
|
.end XySetLowWaitHighThread
|