summaryrefslogtreecommitdiffstats
path: root/private/ntos/dll/mips/evpair.s
diff options
context:
space:
mode:
Diffstat (limited to 'private/ntos/dll/mips/evpair.s')
-rw-r--r--private/ntos/dll/mips/evpair.s63
1 files changed, 63 insertions, 0 deletions
diff --git a/private/ntos/dll/mips/evpair.s b/private/ntos/dll/mips/evpair.s
new file mode 100644
index 000000000..f5cd33c9e
--- /dev/null
+++ b/private/ntos/dll/mips/evpair.s
@@ -0,0 +1,63 @@
+#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