mirror of
https://github.com/reactos/reactos.git
synced 2026-07-01 01:36:11 +08:00
[NTOS:MM:PS] Little fixes for NTDLL loading (#7707)
- [NTOS:PS] `STATUS_INVALID_IMAGE_PROTECT` returned by `MmCheckSystemImage` should be a fatal error too. - [NTOS:PS] Fix object attributes for opening NTDLL. - [NTOS:MM] Remove `MmCheckSystemImage` unused parameter. - [NTOS:MM] Inline `MmVerifyImageIsOkForMpUse` in `MmCheckSystemImage`, reducing a call to `RtlImageNtHeader`.
This commit is contained in:
@@ -1652,9 +1652,7 @@ MmUnloadSystemImage(
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
MmCheckSystemImage(
|
||||
IN HANDLE ImageHandle,
|
||||
IN BOOLEAN PurgeSection
|
||||
);
|
||||
_In_ HANDLE ImageHandle);
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
|
||||
Reference in New Issue
Block a user