Changeset 105745 in vbox for trunk/src/VBox/VMM/VMMR3/PGM-armv8.cpp
- Timestamp:
- Aug 21, 2024 7:16:50 AM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PGM-armv8.cpp
r104885 r105745 43 43 #include <VBox/vmm/pgm.h> 44 44 #include <VBox/vmm/cpum.h> 45 #include <VBox/vmm/cpum-armv8.h> 45 46 #include <VBox/vmm/iom.h> 46 47 #include <VBox/sup.h> … … 722 723 VMMDECL(PGMMODE) PGMGetGuestMode(PVMCPU pVCpu) 723 724 { 724 return pVCpu->pgm.s.enmGuestMode; 725 VMCPU_ASSERT_EMT(pVCpu); 726 727 bool fMmuEnabled = CPUMGetGuestMmuEnabled(pVCpu); 728 if (!fMmuEnabled) 729 return PGMMODE_NONE; 730 731 CPUMMODE enmCpuMode = CPUMGetGuestMode(pVCpu); 732 return enmCpuMode == CPUMMODE_ARMV8_AARCH64 733 ? PGMMODE_VMSA_V8_64 734 : PGMMODE_VMSA_V8_32; 725 735 } 726 736 … … 728 738 VMMDECL(PGMMODE) PGMGetShadowMode(PVMCPU pVCpu) 729 739 { 730 return pVCpu->pgm.s.enmShadowMode; 740 RT_NOREF(pVCpu); 741 return PGMMODE_NONE; /* NEM doesn't need any shadow paging. */ 731 742 } 732 743 … … 736 747 VMCPU_ASSERT_EMT(pVCpu); 737 748 Assert(pWalk); 738 AssertReleaseFailed();749 //AssertReleaseFailed(); 739 750 RT_NOREF(pVCpu, GCPtr, pWalk); 740 751 return VERR_NOT_IMPLEMENTED;
Note:
See TracChangeset
for help on using the changeset viewer.