VirtualBox

Changeset 92469 in vbox


Ignore:
Timestamp:
Nov 17, 2021 9:19:59 AM (3 years ago)
Author:
vboxsync
Message:

VMM: Nested VMX: bugref:10092 Removed unused GSTUINT in guest template defines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/PGMGstDefs.h

    r92321 r92469  
    2020*   Defined Constants And Macros                                               *
    2121*******************************************************************************/
    22 #undef GSTUINT
    2322#undef GST_ATOMIC_OR
    2423#undef GSTPT
     
    7372
    7473# if PGM_SHW_TYPE == PGM_TYPE_EPT
    75 #  define GSTUINT                               uint64_t
    7674#  define GST_ATOMIC_OR(a_pu, a_fFlags)         ASMAtomicOrU64((a_pu), (a_fFlags))
    7775#  define GSTPT                                 X86PTPAE
     
    8886# else
    8987#  if PGM_SHW_TYPE == PGM_TYPE_32BIT /* Same as shadow paging, but no PGMSHWPTEPAE. */
    90 #   define GSTUINT                              uint32_t
    9188#   define GST_ATOMIC_OR(a_pu, a_fFlags)        ASMAtomicOrU32((a_pu), (a_fFlags))
    9289#   define GSTPT                                X86PT
     
    10097#   define GST_PTE_PG_MASK                      X86_PTE_PG_MASK
    10198#  else
    102 #   define GSTUINT                              uint64_t
    10399#   define GST_ATOMIC_OR(a_pu, a_fFlags)        ASMAtomicOrU64((a_pu), (a_fFlags))
    104100#   define GSTPT                                X86PTPAE
     
    136132
    137133#elif PGM_GST_TYPE == PGM_TYPE_32BIT
    138 # define GSTUINT                                uint32_t
    139134# define GST_ATOMIC_OR(a_pu, a_fFlags)          ASMAtomicOrU32((a_pu), (a_fFlags))
    140135# define GSTPT                                  X86PT
     
    181176#elif   PGM_GST_TYPE == PGM_TYPE_PAE \
    182177     || PGM_GST_TYPE == PGM_TYPE_AMD64
    183 # define GSTUINT                                uint64_t
    184178# define GST_ATOMIC_OR(a_pu, a_fFlags)          ASMAtomicOrU64((a_pu), (a_fFlags))
    185179# define GSTPT                                  X86PTPAE
     
    246240
    247241#elif PGM_GST_TYPE == PGM_TYPE_EPT
    248 # define GSTUINT                                uint64_t
    249242# define GST_ATOMIC_OR(a_pu, a_fFlags)          ASMAtomicOrU64((a_pu), (a_fFlags))
    250243# define GSTPT                                  EPTPT
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette