https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b66441d581023edd64a7e…
commit b66441d581023edd64a7ee18db15d3eb74dd213a
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Sat May 13 17:03:04 2023 +0300
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Tue Oct 3 19:45:44 2023 +0300
[XDK] Add missing PF_* processor feature definitions
---
sdk/include/xdk/ketypes.h | 18 +++++++++++++++---
sdk/include/xdk/winnt_old.h | 34 ----------------------------------
2 files changed, 15 insertions(+), 37 deletions(-)
diff --git a/sdk/include/xdk/ketypes.h b/sdk/include/xdk/ketypes.h
index fdeee0904a3..f5b3b02f8c9 100644
--- a/sdk/include/xdk/ketypes.h
+++ b/sdk/include/xdk/ketypes.h
@@ -120,9 +120,6 @@ typedef struct _SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX {
} DUMMYUNIONNAME;
} SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX, *PSYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX;
-$endif(_WDMDDK_ || _WINNT_)
-$if(_WDMDDK_)
-
/* Processor features */
#define PF_FLOATING_POINT_PRECISION_ERRATA 0
#define PF_FLOATING_POINT_EMULATED 1
@@ -156,6 +153,21 @@ $if(_WDMDDK_)
#define PF_ARM_V8_INSTRUCTIONS_AVAILABLE 29
#define PF_ARM_V8_CRYPTO_INSTRUCTIONS_AVAILABLE 30
#define PF_ARM_V8_CRC32_INSTRUCTIONS_AVAILABLE 31
+#define PF_RDTSCP_INSTRUCTION_AVAILABLE 32
+#define PF_RDPID_INSTRUCTION_AVAILABLE 33
+#define PF_ARM_V81_ATOMIC_INSTRUCTIONS_AVAILABLE 34
+#define PF_SSSE3_INSTRUCTIONS_AVAILABLE 36
+#define PF_SSE4_1_INSTRUCTIONS_AVAILABLE 37
+#define PF_SSE4_2_INSTRUCTIONS_AVAILABLE 38
+#define PF_AVX_INSTRUCTIONS_AVAILABLE 39
+#define PF_AVX2_INSTRUCTIONS_AVAILABLE 40
+#define PF_AVX512F_INSTRUCTIONS_AVAILABLE 41
+#define PF_ARM_V82_DP_INSTRUCTIONS_AVAILABLE 43
+#define PF_ARM_V83_JSCVT_INSTRUCTIONS_AVAILABLE 44
+#define PF_ARM_V83_LRCPC_INSTRUCTIONS_AVAILABLE 45
+
+$endif(_WDMDDK_ || _WINNT_)
+$if(_WDMDDK_)
#define MAXIMUM_WAIT_OBJECTS 64
diff --git a/sdk/include/xdk/winnt_old.h b/sdk/include/xdk/winnt_old.h
index 15d353fc9ef..8edf6f58a59 100644
--- a/sdk/include/xdk/winnt_old.h
+++ b/sdk/include/xdk/winnt_old.h
@@ -457,40 +457,6 @@
#define PROCESSOR_ARCHITECTURE_AMD64 9
#define PROCESSOR_ARCHITECTURE_UNKNOWN 0xFFFF
-/* Processor features */
-#define PF_FLOATING_POINT_PRECISION_ERRATA 0
-#define PF_FLOATING_POINT_EMULATED 1
-#define PF_COMPARE_EXCHANGE_DOUBLE 2
-#define PF_MMX_INSTRUCTIONS_AVAILABLE 3
-#define PF_PPC_MOVEMEM_64BIT_OK 4
-#define PF_ALPHA_BYTE_INSTRUCTIONS 5
-#define PF_XMMI_INSTRUCTIONS_AVAILABLE 6
-#define PF_3DNOW_INSTRUCTIONS_AVAILABLE 7
-#define PF_RDTSC_INSTRUCTION_AVAILABLE 8
-#define PF_PAE_ENABLED 9
-#define PF_XMMI64_INSTRUCTIONS_AVAILABLE 10
-#define PF_SSE_DAZ_MODE_AVAILABLE 11
-#define PF_NX_ENABLED 12
-#define PF_SSE3_INSTRUCTIONS_AVAILABLE 13
-#define PF_COMPARE_EXCHANGE128 14
-#define PF_COMPARE64_EXCHANGE128 15
-#define PF_CHANNELS_ENABLED 16
-#define PF_XSAVE_ENABLED 17
-#define PF_ARM_VFP_32_REGISTERS_AVAILABLE 18
-#define PF_ARM_NEON_INSTRUCTIONS_AVAILABLE 19
-#define PF_SECOND_LEVEL_ADDRESS_TRANSLATION 20
-#define PF_VIRT_FIRMWARE_ENABLED 21
-#define PF_RDWRFSGSBASE_AVAILABLE 22
-#define PF_FASTFAIL_AVAILABLE 23
-#define PF_ARM_DIVIDE_INSTRUCTION_AVAILABLE 24
-#define PF_ARM_64BIT_LOADSTORE_ATOMIC 25
-#define PF_ARM_EXTERNAL_CACHE_AVAILABLE 26
-#define PF_ARM_FMAC_INSTRUCTIONS_AVAILABLE 27
-#define PF_RDRAND_INSTRUCTION_AVAILABLE 28
-#define PF_ARM_V8_INSTRUCTIONS_AVAILABLE 29
-#define PF_ARM_V8_CRYPTO_INSTRUCTIONS_AVAILABLE 30
-#define PF_ARM_V8_CRC32_INSTRUCTIONS_AVAILABLE 31
-
/* also in ddk/ntifs.h */
#define FILE_ACTION_ADDED 0x00000001
#define FILE_ACTION_REMOVED 0x00000002