VirtualBox

Ignore:
Timestamp:
Dec 4, 2024 3:20:14 PM (6 weeks ago)
Author:
vboxsync
Message:

VMM: Cleaning up ARMv8 / x86 split. jiraref:VBP-1470

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PGMDbg.cpp

    r107171 r107227  
    10841084        else
    10851085        {
    1086 #ifndef VBOX_VMM_TARGET_ARMV8
     1086#ifdef VBOX_VMM_TARGET_X86
    10871087            Assert(WalkGst.enmType != PGMPTWALKGSTTYPE_INVALID);
    10881088#endif
     
    10951095             */
    10961096            uint64_t cPagesCanSkip;
    1097 #ifndef VBOX_VMM_TARGET_ARMV8
     1097#ifdef VBOX_VMM_TARGET_X86
    10981098            switch (Walk.uLevel)
    10991099            {
     
    11441144                continue;
    11451145            }
    1146 #else
     1146
     1147#elif defined(VBOX_VMM_TARGET_ARMV8)
     1148
    11471149            /** @todo Sketch, needs creating proper defines for constants in armv8.h and using these
    11481150             * instead of hardcoding these here. */
     
    11781180                continue;
    11791181            }
     1182#else
     1183# error "port me"
    11801184#endif
    11811185        }
     
    11851189            break;
    11861190        cPages -= cIncPages;
    1187 #ifndef VBOX_VMM_TARGET_ARMV8
     1191#ifdef VBOX_VMM_TARGET_X86
    11881192        GCPtr += (RTGCPTR)cIncPages << X86_PT_PAE_SHIFT;
     1193#elif defined(VBOX_VMM_TARGET_ARMV8)
     1194        GCPtr += (RTGCPTR)cIncPages << 12;
    11891195#else
    1190         GCPtr += (RTGCPTR)cIncPages << 12;
     1196# error "port me"
    11911197#endif
    11921198
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