mirror of
https://github.com/reactos/reactos.git
synced 2025-01-07 06:45:24 +00:00
[PSDK/DDK]
Add definitions for BitScanForward64 svn path=/trunk/; revision=56811
This commit is contained in:
parent
8400fdc078
commit
b8a94ea7da
3 changed files with 10 additions and 1 deletions
|
@ -264,6 +264,8 @@ InterlockedBitTestAndReset(
|
|||
#define InterlockedBitTestAndReset _interlockedbittestandreset
|
||||
|
||||
#ifdef _M_AMD64
|
||||
#define BitScanForward64 _BitScanForward64
|
||||
#define BitScanReverse64 _BitScanReverse64
|
||||
#define BitTest64 _bittest64
|
||||
#define BitTestAndComplement64 _bittestandcomplement64
|
||||
#define BitTestAndSet64 _bittestandset64
|
||||
|
@ -9757,6 +9759,7 @@ typedef XSAVE_FORMAT XMM_SAVE_AREA32, *PXMM_SAVE_AREA32;
|
|||
#define KeGetDcacheFillSize() 1L
|
||||
|
||||
#define YieldProcessor _mm_pause
|
||||
#define MemoryBarrier __faststorefence
|
||||
#define FastFence __faststorefence
|
||||
#define LoadFence _mm_lfence
|
||||
#define MemoryFence _mm_mfence
|
||||
|
@ -10206,8 +10209,8 @@ KeInitializeSpinLock(_Out_ PKSPIN_LOCK SpinLock)
|
|||
}
|
||||
#endif
|
||||
|
||||
DECLSPEC_NORETURN
|
||||
NTKERNELAPI
|
||||
DECLSPEC_NORETURN
|
||||
VOID
|
||||
NTAPI
|
||||
KeBugCheckEx(
|
||||
|
|
|
@ -5312,6 +5312,10 @@ InterlockedBitTestAndReset(IN LONG volatile *Base,
|
|||
|
||||
#define BitScanForward _BitScanForward
|
||||
#define BitScanReverse _BitScanReverse
|
||||
#ifdef _M_AMD64
|
||||
#define BitScanForward64 _BitScanForward64
|
||||
#define BitScanReverse64 _BitScanReverse64
|
||||
#endif
|
||||
|
||||
/* TODO: Other architectures than X86 */
|
||||
#if defined(_M_IX86)
|
||||
|
|
|
@ -57,6 +57,8 @@ InterlockedBitTestAndReset(
|
|||
#define InterlockedBitTestAndReset _interlockedbittestandreset
|
||||
|
||||
#ifdef _M_AMD64
|
||||
#define BitScanForward64 _BitScanForward64
|
||||
#define BitScanReverse64 _BitScanReverse64
|
||||
#define BitTest64 _bittest64
|
||||
#define BitTestAndComplement64 _bittestandcomplement64
|
||||
#define BitTestAndSet64 _bittestandset64
|
||||
|
|
Loading…
Reference in a new issue