[Kernel] NtQueryVirtualMemory state test case info

This commit is contained in:
Triang3l 2020-08-27 16:59:42 +03:00
parent c2c263f34a
commit fd14a68420
1 changed files with 1 additions and 0 deletions

View File

@ -287,6 +287,7 @@ dword_result_t NtQueryVirtualMemory(
// https://docs.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-memory_basic_information
// State: ... This member can be one of the following values: MEM_COMMIT,
// MEM_FREE, MEM_RESERVE.
// State queried by Beautiful Katamari before displaying the loading screen.
uint32_t x_state;
if (alloc_info.state & kMemoryAllocationCommit) {
assert_not_zero(alloc_info.state & kMemoryAllocationReserve);