VirtualBox

Changeset 104672 in vbox


Ignore:
Timestamp:
May 16, 2024 10:50:35 AM (8 months ago)
Author:
vboxsync
Message:

VMM/NEM: Pretty much work in progress Hyper-V on win.arm64 experiment, bugref:10392

Location:
trunk/src/VBox/VMM
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/Makefile.kmk

    r104386 r104672  
    363363 VBoxVMMArm_SONAME.linux = VBoxVMMArm.so
    364364
    365  VBoxVMMArm_DEFS     = VBOX_VMM_TARGET_ARMV8 VBOX_IN_VMM IN_VMM_R3 IN_DIS IN_DBG \
     365 VBoxVMMArm_DEFS     = VBOX_VMM_TARGET_ARMV8 VBOX_IN_VMM IN_VMM_R3 IN_DIS IN_DBG IN_GMM_R3 \
    366366        $(filter-out VBOX_WITH_IEM_RECOMPILER VBOX_WITH_IEM_NATIVE_RECOMPILER,$(VMM_COMMON_DEFS))
    367367 ifdef VBOX_WITH_VUSB
     
    509509        VMMR3/GICR3Kvm.cpp
    510510 VBoxVMMArm_DEFS.linux.arm64    += VBOX_WITH_NATIVE_NEM
     511
     512 VBoxVMMArm_SOURCES.win.arm64 += \
     513        VMMR3/NEMR3Native-win-armv8.cpp
     514 VBoxVMMArm_DEFS.win.arm64   += VBOX_WITH_NATIVE_NEM
    511515
    512516 VBoxVMMArm_LIBS = \
  • trunk/src/VBox/VMM/VMMR3/DBGFDisas.cpp

    r102560 r104672  
    384384#if defined(VBOX_VMM_TARGET_ARMV8)
    385385    RT_NOREF(pVM, pVCpu, Sel, GCPtr, rc, fFlags, pszOutput, cbOutput, pcbInstr, pDisState);
    386     AssertFailed(); /** @todo */
     386    //AssertFailed(); /** @todo */
    387387    return VERR_NOT_IMPLEMENTED;
    388388#else
  • trunk/src/VBox/VMM/include/NEMInternal.h

    r104385 r104672  
    252252    /** Set if we've created the EMTs. */
    253253    bool                        fCreatedEmts : 1;
     254# if defined(VBOX_VMM_TARGET_ARMV8)
     255    bool                        fHypercallExit : 1;
     256    bool                        fGpaAccessFaultExit : 1;
     257    /** Cache line flush size as a power of two. */
     258    uint8_t                     cPhysicalAddressWidth;
     259# else
    254260    /** WHvRunVpExitReasonX64Cpuid is supported. */
    255261    bool                        fExtendedMsrExit : 1;
     
    258264    /** WHvRunVpExitReasonException is supported. */
    259265    bool                        fExtendedXcptExit : 1;
    260 # ifdef NEM_WIN_WITH_A20
     266#  ifdef NEM_WIN_WITH_A20
    261267    /** Set if we've started more than one CPU and cannot mess with A20. */
    262268    bool                        fA20Fixed : 1;
    263269    /** Set if A20 is enabled. */
    264270    bool                        fA20Enabled : 1;
     271#  endif
    265272# endif
    266273    /** The reported CPU vendor.   */
     
    473480
    474481#elif defined(RT_OS_WINDOWS)
     482# ifdef VBOX_VMM_TARGET_ARMV8
     483    /** Flag whether the ID registers were synced to the guest context
     484     * (for first guest exec call on the EMT after loading the saved state). */
     485    bool                        fIdRegsSynced;
     486# else
    475487    /** The current state of the interrupt windows (NEM_WIN_INTW_F_XXX). */
    476488    uint8_t                     fCurrentInterruptWindows;
     
    487499    /** The windows thread handle. */
    488500    RTR3PTR                     hNativeThreadHandle;
     501# endif
    489502
    490503    /** @name Statistics
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