[PATCH] include: Fix a couple of logical processor info structures

Nikolay Sivov nsivov at codeweavers.com
Thu Oct 22 09:39:56 CDT 2015


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---

PROCESSOR_RELATIONSHIP was updated in Win10, CACHE_RELATIONSHIP is just missing
a field

 include/winnt.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/include/winnt.h b/include/winnt.h
index ded01f6..c7874dd 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -5822,12 +5822,12 @@ typedef struct _PROCESSOR_NUMBER
 typedef struct _PROCESSOR_RELATIONSHIP
 {
     BYTE Flags;
-    BYTE Reserved[21];
+    BYTE EfficiencyClass;
+    BYTE Reserved[20];
     WORD GroupCount;
     GROUP_AFFINITY GroupMask[ANYSIZE_ARRAY];
 } PROCESSOR_RELATIONSHIP, *PPROCESSOR_RELATIONSHIP;
 
-
 typedef struct _NUMA_NODE_RELATIONSHIP
 {
     DWORD NodeNumber;
@@ -5840,6 +5840,7 @@ typedef struct _CACHE_RELATIONSHIP
     BYTE Level;
     BYTE Associativity;
     WORD LineSize;
+    DWORD CacheSize;
     PROCESSOR_CACHE_TYPE Type;
     BYTE Reserved[20];
     GROUP_AFFINITY GroupMask;
-- 
2.6.1




More information about the wine-patches mailing list