VirtualBox

Changeset 98993 in vbox


Ignore:
Timestamp:
Mar 15, 2023 6:41:59 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
156343
Message:

VMM: More ARMv8 x86/amd64 separation work, getting to PGM now, bugref:10385

Location:
trunk
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/iem-armv8.h

    r98980 r98993  
    4545 * @{ */
    4646
     47/** @name Instruction mode.
     48 * @{ */
     49typedef uint8_t IEMMODE;
     50/** AARCH64 instruction mode. */
     51#define IEMMODE_AARCH64     0
     52/** AARCH32 A32 instruction mode. */
     53#define IEMMODE_AARCH32_A32 1
     54/** AARCH32 T32 (aka Thumb) instruction mode. */
     55#define IEMMODE_AARCH32_T32 1
     56/** @} */
     57
    4758
    4859/** The CPUMCTX_EXTRN_XXX mask required to be cleared when interpreting anything.
  • trunk/include/VBox/vmm/vm.h

    r98970 r98993  
    137137     * @remarks This comes first as it allows the use of 8-bit immediates for the
    138138     *          first 64 bytes of the structure, reducing code size a wee bit. */
    139 #ifdef VMM_INCLUDED_SRC_include_IEMInternal_h /* For PDB hacking. */
     139#if defined(VMM_INCLUDED_SRC_include_IEMInternal_h) || defined(VMM_INCLUDED_SRC_include_IEMInternal_armv8_h) /* For PDB hacking. */
    140140    union VMCPUUNIONIEMFULL
    141141#else
     
    143143#endif
    144144    {
    145 #ifdef VMM_INCLUDED_SRC_include_IEMInternal_h
     145#if defined(VMM_INCLUDED_SRC_include_IEMInternal_h) || defined(VMM_INCLUDED_SRC_include_IEMInternal_armv8_h)
    146146        struct IEMCPU       s;
    147147#endif
  • trunk/src/VBox/VMM/VMMR3/IEMR3.cpp

    r98980 r98993  
    3535#include <VBox/vmm/dbgf.h>
    3636#include <VBox/vmm/mm.h>
    37 #include "IEMInternal.h"
     37#if defined(VBOX_VMM_TARGET_ARMV8)
     38# include "IEMInternal-armv8.h"
     39#else
     40# include "IEMInternal.h"
     41#endif
    3842#include <VBox/vmm/vm.h>
    3943#include <VBox/vmm/vmapi.h>
  • trunk/src/VBox/VMM/VMMR3/PDMDevHlp.cpp

    r98982 r98993  
    46314631    AssertPtr(pEax); AssertPtr(pEbx); AssertPtr(pEcx); AssertPtr(pEdx);
    46324632
     4633#ifdef VBOX_VMM_TARGET_ARMV8
     4634    RT_NOREF(iLeaf, pEax, pEbx, pEcx, pEdx);
     4635    AssertReleaseFailed();
     4636#else
    46334637    CPUMGetGuestCpuId(VMMGetCpu(pDevIns->Internal.s.pVMR3), iLeaf, 0 /*iSubLeaf*/, -1 /*f64BitMode*/, pEax, pEbx, pEcx, pEdx);
     4638#endif
    46344639
    46354640    LogFlow(("pdmR3DevHlp_GetCpuId: caller='%s'/%d: returns void - *pEax=%#x *pEbx=%#x *pEcx=%#x *pEdx=%#x\n",
  • trunk/src/VBox/VMM/VMMR3/PDMDevMiscHlp.cpp

    r98103 r98993  
    171171        return pdmIommuMsiRemap(pDevIns, idDevice, pMsiIn, pMsiOut);
    172172#else
    173     RT_NOREF(pDevIns, idDevice);
     173    RT_NOREF(pDevIns, idDevice, pMsiIn, pMsiOut);
    174174#endif
    175175    return VERR_IOMMU_NOT_PRESENT;
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