Changeset 72496 in vbox for trunk/src/VBox/VMM/include
- Timestamp:
- Jun 10, 2018 5:21:36 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 122981
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/IEMInternal.h
r72495 r72496 636 636 /** @def IEM_CTX_ASSERT 637 637 * Asserts that the @a a_fExtrnMbz is present in the CPU context. 638 * @param a_p Ctx The CPUMCTX structure.638 * @param a_pVCpu The cross context virtual CPU structure of the calling thread. 639 639 * @param a_fExtrnMbz The mask of CPUMCTX_EXTRN_XXX flags that must be zero. 640 640 */ 641 #define IEM_CTX_ASSERT(a_p Ctx, a_fExtrnMbz) Assert(!((a_pCtx)->fExtrn & (a_fExtrnMbz)))641 #define IEM_CTX_ASSERT(a_pVCpu, a_fExtrnMbz) Assert(!((a_pVCpu)->cpum.GstCtx.fExtrn & (a_fExtrnMbz))) 642 642 643 643 /** @def IEM_CTX_IMPORT_RET … … 648 648 * Returns on import failure. 649 649 * 650 * @param a_pVCpu The cross context virtual CPU structure. 651 * @param a_pCtx The CPUMCTX structure. 650 * @param a_pVCpu The cross context virtual CPU structure of the calling thread. 652 651 * @param a_fExtrnImport The mask of CPUMCTX_EXTRN_XXX flags to import. 653 652 */ 654 #define IEM_CTX_IMPORT_RET(a_pVCpu, a_ pCtx, a_fExtrnImport) \653 #define IEM_CTX_IMPORT_RET(a_pVCpu, a_fExtrnImport) \ 655 654 do { \ 656 if (!((a_p Ctx)->fExtrn & (a_fExtrnImport))) \655 if (!((a_pVCpu)->cpum.GstCtx.fExtrn & (a_fExtrnImport))) \ 657 656 { /* likely */ } \ 658 657 else \ … … 668 667 * Will call the keep to import the bits as needed. 669 668 * 670 * @param a_pVCpu The cross context virtual CPU structure. 671 * @param a_pCtx The CPUMCTX structure. 669 * @param a_pVCpu The cross context virtual CPU structure of the calling thread. 672 670 * @param a_fExtrnImport The mask of CPUMCTX_EXTRN_XXX flags to import. 673 671 */ 674 #define IEM_CTX_IMPORT_NORET(a_pVCpu, a_ pCtx, a_fExtrnImport) \672 #define IEM_CTX_IMPORT_NORET(a_pVCpu, a_fExtrnImport) \ 675 673 do { \ 676 if (!((a_p Ctx)->fExtrn & (a_fExtrnImport))) \674 if (!((a_pVCpu)->cpum.GstCtx.fExtrn & (a_fExtrnImport))) \ 677 675 { /* likely */ } \ 678 676 else \ … … 690 688 * Jumps on import failure. 691 689 * 692 * @param a_pVCpu The cross context virtual CPU structure. 693 * @param a_pCtx The CPUMCTX structure. 690 * @param a_pVCpu The cross context virtual CPU structure of the calling thread. 694 691 * @param a_fExtrnImport The mask of CPUMCTX_EXTRN_XXX flags to import. 695 692 */ 696 #define IEM_CTX_IMPORT_JMP(a_pVCpu, a_ pCtx, a_fExtrnImport) \693 #define IEM_CTX_IMPORT_JMP(a_pVCpu, a_fExtrnImport) \ 697 694 do { \ 698 if (!((a_p Ctx)->fExtrn & (a_fExtrnImport))) \695 if (!((a_pVCpu)->cpum.GstCtx.fExtrn & (a_fExtrnImport))) \ 699 696 { /* likely */ } \ 700 697 else \
Note:
See TracChangeset
for help on using the changeset viewer.