Rebase against 41df83c50e1c3cfdd6e8ffb65de7838f8503632c.

This commit is contained in:
Zebediah Figura
2021-03-19 21:15:35 -05:00
parent 34d5c3568f
commit f8b6fde40c
6 changed files with 11 additions and 573 deletions

View File

@@ -1,4 +1,4 @@
From cef4355bf086ab493401931ae635792bad1186f3 Mon Sep 17 00:00:00 2001
From c65ffcf059cf2768a9ca6ee7a7e38d8a6a25fc44 Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Date: Fri, 22 May 2020 16:37:37 +1000
Subject: [PATCH] ntdll: NtQuerySystemInformation support
@@ -12,10 +12,10 @@ Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
2 files changed, 44 insertions(+)
diff --git a/dlls/ntdll/unix/system.c b/dlls/ntdll/unix/system.c
index 909a7c5672f..cf36faf2b78 100644
index 6fa71ddfb91..fad1d072962 100644
--- a/dlls/ntdll/unix/system.c
+++ b/dlls/ntdll/unix/system.c
@@ -2557,6 +2557,28 @@ NTSTATUS WINAPI NtQuerySystemInformation( SYSTEM_INFORMATION_CLASS class,
@@ -2714,6 +2714,28 @@ NTSTATUS WINAPI NtQuerySystemInformation( SYSTEM_INFORMATION_CLASS class,
ret = STATUS_SUCCESS;
break;
@@ -45,15 +45,16 @@ index 909a7c5672f..cf36faf2b78 100644
FIXME( "(0x%08x,%p,0x%08x,%p) stub\n", class, info, size, ret_size );
diff --git a/include/winternl.h b/include/winternl.h
index 9226f000557..7e85ee02552 100644
index fcdedaec8aa..618fab7d7c2 100644
--- a/include/winternl.h
+++ b/include/winternl.h
@@ -988,10 +988,32 @@ typedef enum _SYSTEM_INFORMATION_CLASS {
@@ -1550,11 +1550,33 @@ typedef enum _SYSTEM_INFORMATION_CLASS {
SystemMemoryListInformation = 80,
SystemFileCacheInformationEx = 81,
SystemDynamicTimeZoneInformation = 102,
+ SystemCodeIntegrityInformation = 103,
SystemLogicalProcessorInformationEx = 107,
SystemHypervisorSharedPageInformation = 197,
SystemInformationClassMax
} SYSTEM_INFORMATION_CLASS, *PSYSTEM_INFORMATION_CLASS;
@@ -82,5 +83,5 @@ index 9226f000557..7e85ee02552 100644
ThreadBasicInformation = 0,
ThreadTimes,
--
2.27.0
2.30.2