mirror of
https://github.com/reactos/reactos.git
synced 2025-06-28 14:59:43 +00:00
[NDK] Add missing nop NEC definitions if not X86 (for consistency with what's done in the kernel-mode headers). Addendum to 9feab8e9
.
This commit is contained in:
parent
131bc73555
commit
de16ef3da0
1 changed files with 20 additions and 1 deletions
|
@ -221,8 +221,8 @@ typedef CCHAR KPROCESSOR_MODE;
|
||||||
//
|
//
|
||||||
#define SharedUserData ((KUSER_SHARED_DATA *)USER_SHARED_DATA)
|
#define SharedUserData ((KUSER_SHARED_DATA *)USER_SHARED_DATA)
|
||||||
|
|
||||||
/* Macros for user-mode run-time checks of X86 system architecture */
|
|
||||||
#ifdef _X86_
|
#ifdef _X86_
|
||||||
|
/* Macros for user-mode run-time checks of X86 system architecture */
|
||||||
|
|
||||||
#ifndef IsNEC_98
|
#ifndef IsNEC_98
|
||||||
#define IsNEC_98 (SharedUserData->AlternativeArchitecture == NEC98x86)
|
#define IsNEC_98 (SharedUserData->AlternativeArchitecture == NEC98x86)
|
||||||
|
@ -242,8 +242,27 @@ typedef CCHAR KPROCESSOR_MODE;
|
||||||
#define SetNotNEC_98
|
#define SetNotNEC_98
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#else // !_X86_
|
||||||
|
/* Correctly define these run-time definitions for non X86 machines */
|
||||||
|
|
||||||
|
#ifndef IsNEC_98
|
||||||
|
#define IsNEC_98 (FALSE)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef IsNotNEC_98
|
||||||
|
#define IsNotNEC_98 (TRUE)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef SetNEC_98
|
||||||
|
#define SetNEC_98
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef SetNotNEC_98
|
||||||
|
#define SetNotNEC_98
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif // _X86_
|
||||||
|
|
||||||
//
|
//
|
||||||
// Maximum WOW64 Entries in KUSER_SHARED_DATA
|
// Maximum WOW64 Entries in KUSER_SHARED_DATA
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue