Changeset 106519 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Oct 20, 2024 2:29:46 AM (4 months ago)
- svn:sync-xref-src-repo-rev:
- 165351
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/NEMAllNativeTemplate-win.cpp.h
r106061 r106519 1077 1077 /* Call the offical API. */ 1078 1078 WHV_REGISTER_NAME aenmNames[2] = { WHvX64RegisterTsc, WHvX64RegisterTscAux }; 1079 WHV_REGISTER_VALUE aValues[2] = { { { 0, 0} }, { {0, 0} } };1079 WHV_REGISTER_VALUE aValues[2] = { { { { 0, 0 } } }, { { { 0, 0 } } } }; 1080 1080 Assert(RT_ELEMENTS(aenmNames) == RT_ELEMENTS(aValues)); 1081 1081 HRESULT hrc = WHvGetVirtualProcessorRegisters(pVM->nem.s.hPartition, pVCpu->idCpu, aenmNames, 2, aValues); … … 1114 1114 /* Start with the first CPU. */ 1115 1115 WHV_REGISTER_NAME enmName = WHvX64RegisterTsc; 1116 WHV_REGISTER_VALUE Value = { { 0, 0} };1116 WHV_REGISTER_VALUE Value = { { { 0, 0 } } }; 1117 1117 Value.Reg64 = uPausedTscValue; 1118 1118 uint64_t const uFirstTsc = ASMReadTSC(); … … 2605 2605 static const WHV_REGISTER_NAME s_aNames[6] = { WHvX64RegisterCs, WHvX64RegisterRip, WHvX64RegisterRflags, 2606 2606 WHvX64RegisterSs, WHvX64RegisterRsp, WHvX64RegisterCr0 }; 2607 WHV_REGISTER_VALUE aRegs[RT_ELEMENTS(s_aNames)] = { { {0, 0} } };2607 WHV_REGISTER_VALUE aRegs[RT_ELEMENTS(s_aNames)] = { { { {0, 0} } } }; 2608 2608 WHvGetVirtualProcessorRegisters(pVM->nem.s.hPartition, pVCpu->idCpu, s_aNames, RT_ELEMENTS(s_aNames), aRegs); 2609 2609 LogFlow(("NEM/%u: Entry @ %04x:%08RX64 IF=%d EFL=%#RX64 SS:RSP=%04x:%08RX64 cr0=%RX64\n",
Note:
See TracChangeset
for help on using the changeset viewer.