VirtualBox

Ignore:
Timestamp:
Mar 19, 2023 4:40:06 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
156416
Message:

VMM: More ARMv8 x86/amd64 separation work, VBoxVMMArm compiles and links now, bugref:10385

File:
1 edited

Legend:

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

    r98103 r99051  
    374374 * @param   GCVirt      The virtual address of the page to invalidate.
    375375 */
    376 #ifdef IN_RING0
    377 # define PGM_INVL_PG_ALL_VCPU(pVM, GCVirt)      HMInvalidatePageOnAllVCpus(pVM, (RTGCPTR)(GCVirt))
     376#if defined(VBOX_VMM_TARGET_ARMV8)
     377# define PGM_INVL_PG_ALL_VCPU(pVM, GCVirt)      do { } while(0)
    378378#else
    379379# define PGM_INVL_PG_ALL_VCPU(pVM, GCVirt)      HMInvalidatePageOnAllVCpus(pVM, (RTGCPTR)(GCVirt))
     
    386386 * @param   GCVirt      The virtual address within the page directory to invalidate.
    387387 */
    388 #ifdef IN_RING0
    389 # define PGM_INVL_BIG_PG(pVCpu, GCVirt)         HMFlushTlb(pVCpu)
     388#if defined(VBOX_VMM_TARGET_ARMV8)
     389# define PGM_INVL_BIG_PG(pVCpu, GCVirt)         do { } while(0)
    390390#else
    391391# define PGM_INVL_BIG_PG(pVCpu, GCVirt)         HMFlushTlb(pVCpu)
     
    397397 * @param   pVCpu       The cross context virtual CPU structure.
    398398 */
    399 #ifdef IN_RING0
    400 # define PGM_INVL_VCPU_TLBS(pVCpu)             HMFlushTlb(pVCpu)
     399#if defined(VBOX_VMM_TARGET_ARMV8)
     400# define PGM_INVL_VCPU_TLBS(pVCpu)             do { } while(0)
    401401#else
    402402# define PGM_INVL_VCPU_TLBS(pVCpu)             HMFlushTlb(pVCpu)
     
    408408 * @param   pVM         The cross context VM structure.
    409409 */
    410 #ifdef IN_RING0
    411 # define PGM_INVL_ALL_VCPU_TLBS(pVM)            HMFlushTlbOnAllVCpus(pVM)
     410#if defined(VBOX_VMM_TARGET_ARMV8)
     411# define PGM_INVL_ALL_VCPU_TLBS(pVM)            do { } while(0)
    412412#else
    413413# define PGM_INVL_ALL_VCPU_TLBS(pVM)            HMFlushTlbOnAllVCpus(pVM)
Note: See TracChangeset for help on using the changeset viewer.

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