mirror of
https://github.com/reactos/reactos.git
synced 2026-05-23 07:40:09 +08:00
[NDK][XDK] Improve SharedUserData related definitions
- Move definition of USER_SHARED_DATA from pstypes.h to ketypes.h - Add missing definition of KI_USER_SHARED_DATA for ARM64 - Remove definition of KI_USER_SHARED_DATA_PHYSICAL
This commit is contained in:
@@ -125,11 +125,6 @@ Author:
|
||||
//
|
||||
#define THREAD_ALERT_INCREMENT 2
|
||||
|
||||
//
|
||||
// Physical memory offset of KUSER_SHARED_DATA
|
||||
//
|
||||
#define KI_USER_SHARED_DATA_PHYSICAL 0x41000
|
||||
|
||||
//
|
||||
// Quantum values and decrements
|
||||
//
|
||||
@@ -164,6 +159,11 @@ typedef struct _FIBER /* Field offsets: */
|
||||
#endif
|
||||
} FIBER, *PFIBER;
|
||||
|
||||
//
|
||||
// KUSER_SHARED_DATA location in User Mode
|
||||
//
|
||||
#define USER_SHARED_DATA 0x7FFE0000
|
||||
|
||||
#ifndef NTOS_MODE_USER
|
||||
//
|
||||
// Number of dispatch codes supported by KINTERRUPT
|
||||
|
||||
@@ -45,11 +45,6 @@ extern POBJECT_TYPE NTSYSAPI PsJobType;
|
||||
|
||||
#endif // !NTOS_MODE_USER
|
||||
|
||||
//
|
||||
// KUSER_SHARED_DATA location in User Mode
|
||||
//
|
||||
#define USER_SHARED_DATA (0x7FFE0000)
|
||||
|
||||
//
|
||||
// Global Flags
|
||||
//
|
||||
|
||||
@@ -13,6 +13,7 @@ $if (_WDMDDK_)
|
||||
#define PROFILE_LEVEL 15
|
||||
#define HIGH_LEVEL 15
|
||||
|
||||
#define KI_USER_SHARED_DATA 0xFFFFF78000000000ULL
|
||||
#define SharedUserData ((KUSER_SHARED_DATA * const)KI_USER_SHARED_DATA)
|
||||
|
||||
#define PAGE_SIZE 0x1000
|
||||
|
||||
Reference in New Issue
Block a user