VirtualBox

Changeset 107194 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Nov 29, 2024 2:47:06 PM (3 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
166196
Message:

VMM: More adjustments for VBOX_WITH_ONLY_PGM_NEM_MODE, VBOX_WITH_MINIMAL_R0, VBOX_WITH_HWVIRT and such. jiraref:VBP-1466

File:
1 edited

Legend:

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

    r107171 r107194  
    31803180    PDMCRITSECT                     CritSectX;
    31813181
     3182#ifndef VBOX_WITH_ONLY_PGM_NEM_MODE
    31823183    /**
    31833184     * Data associated with managing the ring-3 mappings of the allocation chunks.
     
    31893190        /** The chunk tree, ordered by chunk id. */
    31903191        R3PTRTYPE(PAVLU32NODECORE)  pTree;
    3191 #if HC_ARCH_BITS == 32
     3192# if HC_ARCH_BITS == 32
    31923193        uint32_t                    u32Alignment0;
    3193 #endif
     3194# endif
    31943195        /** The number of mapped chunks. */
    31953196        uint32_t                    c;
     
    32033204        uint32_t                    au32Alignment1[3];
    32043205    } ChunkR3Map;
     3206#endif
    32053207
    32063208    /** The page mapping TLB for ring-3. */
     
    33083310    uint32_t                        cReadLockedPages;       /**< The number of read locked pages. */
    33093311    uint32_t                        cBalloonedPages;        /**< The number of ballooned pages. */
     3312#ifndef VBOX_WITH_ONLY_PGM_NEM_MODE
    33103313    uint32_t                        cMappedChunks;          /**< Number of times we mapped a chunk. */
    33113314    uint32_t                        cUnmappedChunks;        /**< Number of times we unmapped a chunk. */
     3315#endif
    33123316    uint32_t                        cLargePages;            /**< The number of large pages. */
    33133317    uint32_t                        cLargePagesDisabled;    /**< The number of disabled large pages. */
     
    33383342AssertCompileMemberAlignment(PGM, CritSectX, 32);
    33393343AssertCompileMemberAlignment(PGM, CritSectX, 64);
    3340 AssertCompileMemberAlignment(PGM, ChunkR3Map, 16);
    33413344AssertCompileMemberAlignment(PGM, PhysTlbR3, 8);
    33423345AssertCompileMemberAlignment(PGM, PhysTlbR3, 16);
     
    33443347AssertCompileMemberAlignment(PGM, PhysTlbR0, 32);
    33453348# ifndef VBOX_WITH_ONLY_PGM_NEM_MODE
     3349AssertCompileMemberAlignment(PGM, ChunkR3Map, 16);
    33463350AssertCompileMemberAlignment(PGM, HCPhysZeroPg, 8);
    33473351# endif
     
    39413945int             pgmPhysPageMap(PVMCC pVM, PPGMPAGE pPage, RTGCPHYS GCPhys, void **ppv);
    39423946int             pgmPhysPageMapReadOnly(PVMCC pVM, PPGMPAGE pPage, RTGCPHYS GCPhys, void const **ppv);
     3947#if 0 /* unused */
    39433948int             pgmPhysPageMapByPageID(PVMCC pVM, uint32_t idPage, RTHCPHYS HCPhys, void **ppv);
     3949#endif
    39443950int             pgmPhysGCPhys2R3Ptr(PVMCC pVM, RTGCPHYS GCPhys, PRTR3PTR pR3Ptr);
    39453951int             pgmPhysGCPhys2CCPtrLockless(PVMCPUCC pVCpu, RTGCPHYS GCPhys, void **ppv);
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