[NTOS:MM] Simplify definitions of MM_SYSLDR_NO_IMPORTS and MM_SYSLDR_BOOT_LOADED.

This commit is contained in:
Hermès Bélusca-Maïto 2023-03-15 20:31:28 +01:00
parent f6c8155239
commit a8bcc8d7a1
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -197,13 +197,8 @@ extern const ULONG MmProtectToValue[32];
//
// Special values for LoadedImports
//
#ifdef _WIN64
#define MM_SYSLDR_NO_IMPORTS (PVOID)0xFFFFFFFFFFFFFFFEULL
#define MM_SYSLDR_BOOT_LOADED (PVOID)0xFFFFFFFFFFFFFFFFULL
#else
#define MM_SYSLDR_NO_IMPORTS (PVOID)0xFFFFFFFE
#define MM_SYSLDR_BOOT_LOADED (PVOID)0xFFFFFFFF
#endif
#define MM_SYSLDR_NO_IMPORTS ((PVOID)(ULONG_PTR)-2)
#define MM_SYSLDR_BOOT_LOADED ((PVOID)(ULONG_PTR)-1)
#define MM_SYSLDR_SINGLE_ENTRY 0x1
//