mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 12:26:09 +00:00
[XDK]
- Add RESULT_ZERO, RESULT_NEGATIVE and RESULT_POSITIVE definitions for other architectures than X86 [DDK] - Update ntddk.h to reflect XDK changes. svn path=/branches/header-work/; revision=47176
This commit is contained in:
parent
1f071790b9
commit
b596fbada4
2 changed files with 16 additions and 0 deletions
|
@ -3283,11 +3283,19 @@ ExFreeToZone(
|
||||||
#define ExIsResourceAcquired ExIsResourceAcquiredSharedLite
|
#define ExIsResourceAcquired ExIsResourceAcquiredSharedLite
|
||||||
#define ExReleaseResourceForThread ExReleaseResourceForThreadLite
|
#define ExReleaseResourceForThread ExReleaseResourceForThreadLite
|
||||||
|
|
||||||
|
#ifndef _M_IX86
|
||||||
|
#define RESULT_ZERO 0
|
||||||
|
#define RESULT_NEGATIVE 1
|
||||||
|
#define RESULT_POSITIVE 2
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(_X86_) || defined(_IA64_) || defined(_M_AMD64) && !defined(RC_INVOKED) && !defined(MIDL_PASS)
|
||||||
typedef enum _INTERLOCKED_RESULT {
|
typedef enum _INTERLOCKED_RESULT {
|
||||||
ResultNegative = RESULT_NEGATIVE,
|
ResultNegative = RESULT_NEGATIVE,
|
||||||
ResultZero = RESULT_ZERO,
|
ResultZero = RESULT_ZERO,
|
||||||
ResultPositive = RESULT_POSITIVE
|
ResultPositive = RESULT_POSITIVE
|
||||||
} INTERLOCKED_RESULT;
|
} INTERLOCKED_RESULT;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef _X86_
|
#ifdef _X86_
|
||||||
|
|
||||||
|
|
|
@ -299,11 +299,19 @@ ExFreeToZone(
|
||||||
#define ExIsResourceAcquired ExIsResourceAcquiredSharedLite
|
#define ExIsResourceAcquired ExIsResourceAcquiredSharedLite
|
||||||
#define ExReleaseResourceForThread ExReleaseResourceForThreadLite
|
#define ExReleaseResourceForThread ExReleaseResourceForThreadLite
|
||||||
|
|
||||||
|
#ifndef _M_IX86
|
||||||
|
#define RESULT_ZERO 0
|
||||||
|
#define RESULT_NEGATIVE 1
|
||||||
|
#define RESULT_POSITIVE 2
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(_X86_) || defined(_IA64_) || defined(_M_AMD64) && !defined(RC_INVOKED) && !defined(MIDL_PASS)
|
||||||
typedef enum _INTERLOCKED_RESULT {
|
typedef enum _INTERLOCKED_RESULT {
|
||||||
ResultNegative = RESULT_NEGATIVE,
|
ResultNegative = RESULT_NEGATIVE,
|
||||||
ResultZero = RESULT_ZERO,
|
ResultZero = RESULT_ZERO,
|
||||||
ResultPositive = RESULT_POSITIVE
|
ResultPositive = RESULT_POSITIVE
|
||||||
} INTERLOCKED_RESULT;
|
} INTERLOCKED_RESULT;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef _X86_
|
#ifdef _X86_
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue