--
Best regards,
LIU Hao

From b96006586ea07492dbe51de232c1bb6e8115b112 Mon Sep 17 00:00:00 2001
From: LIU Hao <lh_mo...@126.com>
Date: Fri, 28 Feb 2025 21:59:41 +0800
Subject: [PATCH] headers/winhvplatformdefs: Allow
 `WHV_SYNTHETIC_PROCESSOR_FEATURES::TbFlushHypercalls` for ARM64

Reference: 
https://github.com/MicrosoftDocs/Virtualization-Documentation/blob/90bb4a4e0348a3116584a52baacbf1abdbb00625/virtualization/api/hypervisor-platform/headers/WinHvPlatformDefs.h
Signed-off-by: LIU Hao <lh_mo...@126.com>
---
 mingw-w64-headers/include/winhvplatformdefs.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/mingw-w64-headers/include/winhvplatformdefs.h 
b/mingw-w64-headers/include/winhvplatformdefs.h
index 160db7deb..b547b7a56 100644
--- a/mingw-w64-headers/include/winhvplatformdefs.h
+++ b/mingw-w64-headers/include/winhvplatformdefs.h
@@ -1563,11 +1563,7 @@ typedef union WHV_SYNTHETIC_PROCESSOR_FEATURES {
         UINT64 DirectSyntheticTimers : 1;
         UINT64 ReservedZ23 : 1;
         UINT64 ExtendedProcessorMasks : 1;
-#ifdef __x86_64__
         UINT64 TbFlushHypercalls : 1;
-#else
-        UINT64 ReservedZ25 : 1;
-#endif
         UINT64 SyntheticClusterIpi : 1;
         UINT64 NotifyLongSpinWait : 1;
         UINT64 QueryNumaDistance : 1;
-- 
2.48.1

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to