Windows2000/private/ntos/dll/mips/evpair.s
2020-09-30 17:12:32 +02:00

64 lines
1.1 KiB
ArmAsm

#if defined(R4000)
// TITLE("Fast Event Pair Support")
//++
//
// Copyright (c) 1992 Microsoft 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
//
// Environment:
//
// Kernel mode.
//
// Revision History:
//
//--
#include "ksmips.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)
li v0,SET_LOW_WAIT_HIGH // call system service
syscall //
.end XySetLowWaitHighThread
#endif