summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/ddk/winnt4.h
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2004-10-10 07:14:04 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2004-10-10 07:14:04 +0000
commit7d032a010a4ba423d76fe5d0ff208125d903b400 (patch)
treed9c50fd93f31c1fc3830beaa435a3eb061c920b9 /winsup/w32api/include/ddk/winnt4.h
parent0795a24552591dec14b4850b0a3bdd653bee30c9 (diff)
downloadcygnal-7d032a010a4ba423d76fe5d0ff208125d903b400.tar.gz
cygnal-7d032a010a4ba423d76fe5d0ff208125d903b400.tar.bz2
cygnal-7d032a010a4ba423d76fe5d0ff208125d903b400.zip
* include/ddk/winnt4.h (Exi386InterlockedDecrementLong,
Exi386InterlockedExchangeUlong, Exi386InterlockedIncrementLong); Add prototypes. * include/winddk.h (ExInterlockedAddUlong, ExInterlockedInsertHeadList, ExInterlockedInsertTailList, ExInterlockedRemoveHeadList, ExInterlockedPopEntryList, ExInterlockedPushEntryList): Change calling convention to DDKAPI. (ExfInterlockedAddUlong,ExInterlockedInsertHeadList, ExInterlockedInsertTailList, ExInterlockedRemoveHeadList, ExInterlockedPopEntryList, ExInterlockedPushEntryList): Add prototypes for DDKFASTAPI versions. Thanks to Vadim Yegor0v <zg at bmg dot lv> for report. * lib/ntoskrnl.def (ExInterlockedAddUlong, ExInterlockedInsertHeadList, ExInterlockedInsertTailList, ExInterlockedRemoveHeadList, ExInterlockedPopEntryList, ExInterlockedPushEntryList): Remove lead '@' from stubs. (ExfInterlockedAddUlong,ExfInterlockedInsertHeadList, ExfInterlockedInsertTailList, ExfInterlockedRemoveHeadList, ExfInterlockedPopEntryList, ExfInterlockedPushEntryList): Add fastcall stubs. (Exi386InterlockedDecrementLong, Exi386InterlockedExchangeUlong, Exi386InterlockedIncrementLong); Add stdcall stubs.
Diffstat (limited to 'winsup/w32api/include/ddk/winnt4.h')
-rw-r--r--winsup/w32api/include/ddk/winnt4.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/winsup/w32api/include/ddk/winnt4.h b/winsup/w32api/include/ddk/winnt4.h
index 3f8424381..503d44ca7 100644
--- a/winsup/w32api/include/ddk/winnt4.h
+++ b/winsup/w32api/include/ddk/winnt4.h
@@ -567,25 +567,44 @@ RtlLargeIntegerSubtract(
/*
-** Architecture specific structures
+** Architecture specific functions
*/
#ifdef _X86_
NTOSAPI
INTERLOCKED_RESULT
+DDKAPI
+Exi386InterlockedIncrementLong(
+ IN PLONG Addend);
+
+NTOSAPI
+INTERLOCKED_RESULT
DDKFASTAPI
Exfi386InterlockedIncrementLong(
IN PLONG Addend);
NTOSAPI
INTERLOCKED_RESULT
+DDKAPI
+Exi386InterlockedDecrementLong(
+ IN PLONG Addend);
+
+NTOSAPI
+INTERLOCKED_RESULT
DDKFASTAPI
Exfi386InterlockedDecrementLong(
IN PLONG Addend);
NTOSAPI
ULONG
+DDKAPI
+Exi386InterlockedExchangeUlong(
+ IN PULONG Target,
+ IN ULONG Value);
+
+NTOSAPI
+ULONG
DDKFASTAPI
Exfi386InterlockedExchangeUlong(
IN PULONG Target,