Changeset 86118 in vbox for trunk/include/VBox/vmm
- Timestamp:
- Sep 14, 2020 9:09:05 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 140352
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/vm.h
r86098 r86118 344 344 enmState, enmExpectedState, (pVCpu)->idCpu)); \ 345 345 } while (0) 346 347 # define VMCPU_ASSERT_STATE_2(pVCpu, enmExpectedState, a_enmExpectedState2) \ 348 do { \ 349 VMCPUSTATE enmState = VMCPU_GET_STATE(pVCpu); \ 350 AssertMsg( enmState == (enmExpectedState) \ 351 || enmState == (a_enmExpectedState2), \ 352 ("enmState=%d enmExpectedState=%d enmExpectedState2=%d idCpu=%u\n", \ 353 enmState, enmExpectedState, a_enmExpectedState2, (pVCpu)->idCpu)); \ 354 } while (0) 346 355 #else 347 356 # define VMCPU_ASSERT_STATE(pVCpu, enmExpectedState) do { } while (0) 357 # define VMCPU_ASSERT_STATE_2(pVCpu, enmExpectedState, a_enmExpectedState2) do { } while (0) 348 358 #endif 349 359 /** Tests if the state means that the CPU is started. */
Note:
See TracChangeset
for help on using the changeset viewer.