From dbf797eec236741b43aaecd0e06eedf00a99467e Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath <[email protected]> Date: Wed, 10 Jul 2024 14:01:28 +0000 Subject: [PATCH 4/4] include: Add new members in WHV_SYNTHETIC_PROCESSOR_FEATURES in winhvplatformdefs.h
Signed-off-by: Biswapriyo Nath <[email protected]> --- mingw-w64-headers/include/winhvplatformdefs.h | 92 +++++++++++-------- 1 file changed, 55 insertions(+), 37 deletions(-) diff --git a/mingw-w64-headers/include/winhvplatformdefs.h b/mingw-w64-headers/include/winhvplatformdefs.h index e8a61c3..9cf239c 100644 --- a/mingw-w64-headers/include/winhvplatformdefs.h +++ b/mingw-w64-headers/include/winhvplatformdefs.h @@ -341,55 +341,73 @@ C_ASSERT(sizeof(WHV_PROCESSOR_FEATURES_BANKS) == sizeof(UINT64) * (WHV_PROCESSOR typedef union WHV_SYNTHETIC_PROCESSOR_FEATURES { __C89_NAMELESS struct { - UINT64 HypervisorPresent:1; - UINT64 Hv1:1; - UINT64 AccessVpRunTimeReg:1; - UINT64 AccessPartitionReferenceCounter:1; - UINT64 AccessSynicRegs:1; - UINT64 AccessSyntheticTimerRegs:1; + UINT64 HypervisorPresent : 1; + UINT64 Hv1 : 1; + UINT64 AccessVpRunTimeReg : 1; + UINT64 AccessPartitionReferenceCounter : 1; + UINT64 AccessSynicRegs : 1; + UINT64 AccessSyntheticTimerRegs : 1; + UINT64 AccessIntrCtrlRegs : 1; + UINT64 AccessHypercallRegs : 1; + UINT64 AccessVpIndex : 1; + UINT64 AccessPartitionReferenceTsc : 1; #ifdef __x86_64__ - UINT64 AccessIntrCtrlRegs:1; + UINT64 AccessGuestIdleReg : 1; + UINT64 AccessFrequencyRegs : 1; #else - UINT64 ReservedZ6:1; + UINT64 ReservedZ10 : 1; + UINT64 ReservedZ11 : 1; #endif - UINT64 AccessHypercallRegs:1; - UINT64 AccessVpIndex:1; - UINT64 AccessPartitionReferenceTsc:1; + UINT64 ReservedZ12 : 1; + UINT64 ReservedZ13 : 1; + UINT64 ReservedZ14 : 1; #ifdef __x86_64__ - UINT64 AccessGuestIdleReg:1; - UINT64 AccessFrequencyRegs:1; + UINT64 EnableExtendedGvaRangesForFlushVirtualAddressList : 1; #else - UINT64 ReservedZ10:1; - UINT64 ReservedZ11:1; + UINT64 ReservedZ15 : 1; #endif - UINT64 ReservedZ12:1; - UINT64 ReservedZ13:1; - UINT64 ReservedZ14:1; + UINT64 ReservedZ16 : 1; + UINT64 ReservedZ17 : 1; + UINT64 FastHypercallOutput : 1; + UINT64 ReservedZ19 : 1; + UINT64 ReservedZ20 : 1; + UINT64 ReservedZ21 : 1; + UINT64 DirectSyntheticTimers : 1; + UINT64 ReservedZ23 : 1; + UINT64 ExtendedProcessorMasks : 1; #ifdef __x86_64__ - UINT64 EnableExtendedGvaRangesForFlushVirtualAddressList:1; + UINT64 TbFlushHypercalls : 1; #else - UINT64 ReservedZ15:1; + UINT64 ReservedZ25 : 1; #endif - UINT64 ReservedZ16:1; - UINT64 ReservedZ17:1; - UINT64 FastHypercallOutput:1; - UINT64 ReservedZ19:1; - UINT64 ReservedZ20:1; - UINT64 ReservedZ21:1; - UINT64 DirectSyntheticTimers:1; - UINT64 ReservedZ23:1; - UINT64 ExtendedProcessorMasks:1; + UINT64 SyntheticClusterIpi : 1; + UINT64 NotifyLongSpinWait : 1; + UINT64 QueryNumaDistance : 1; + UINT64 SignalEvents : 1; + UINT64 RetargetDeviceInterrupt : 1; #ifdef __x86_64__ - UINT64 TbFlushHypercalls:1; + UINT64 RestoreTime : 1; + UINT64 EnlightenedVmcs : 1; + UINT64 NestedDebugCtl : 1; + UINT64 SyntheticTimeUnhaltedTimer : 1; + UINT64 IdleSpecCtrl : 1; #else - UINT64 ReservedZ25:1; + UINT64 ReservedZ31 : 1; + UINT64 ReservedZ32 : 1; + UINT64 ReservedZ33 : 1; + UINT64 ReservedZ34 : 1; + UINT64 ReservedZ35 : 1; #endif - UINT64 SyntheticClusterIpi:1; - UINT64 NotifyLongSpinWait:1; - UINT64 QueryNumaDistance:1; - UINT64 SignalEvents:1; - UINT64 RetargetDeviceInterrupt:1; - UINT64 Reserved:33; + UINT64 ReservedZ36 : 1; + UINT64 WakeVps : 1; + UINT64 AccessVpRegs : 1; +#ifdef __aarch64__ + UINT64 SyncContext : 1; +#else + UINT64 ReservedZ39 : 1; +#endif + UINT64 ReservedZ40 : 1; + UINT64 Reserved : 23; }; UINT64 AsUINT64; } WHV_SYNTHETIC_PROCESSOR_FEATURES; -- 2.45.2
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
