Changeset 108943 in vbox for trunk/src/VBox/VMM/testcase/tstPGMAllGst-armv8.cpp
- Timestamp:
- Apr 11, 2025 9:04:14 AM (4 weeks ago)
- svn:sync-xref-src-repo-rev:
- 168454
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/testcase/tstPGMAllGst-armv8.cpp
r108940 r108943 921 921 BITFIELD_CREATE_BOOL(NotExecutable, 7), 922 922 BITFIELD_CREATE_BOOL(NotAccessibleByMode, 8), 923 { NULL, 0, 0, NULL } 923 { "Level", 11, 5, NULL }, 924 { NULL, 0, 0, NULL } 924 925 925 926 #undef BITFIELD_CREATE_BOOL … … 1006 1007 WalkResult.GCPhysNested = pWalkResult->GCPhysNested; 1007 1008 WalkResult.GCPhys = pWalkResult->GCPhys; 1008 WalkResult.fFailed = pWalkResult->fFailed;1009 1009 WalkResult.fEffective = pWalkResult->fEffective; 1010 WalkResult.uLevel = (pWalkResult->fFailed & PGM_WALKFAIL_LEVEL_MASK) >> PGM_WALKFAIL_LEVEL_SHIFT; 1011 if (pWalkResult->fInfo & PGM_WALKINFO_SUCCEEDED) 1012 WalkResult.fSucceeded = true; 1010 1013 1011 if (pWalkResult->fInfo & PGM_WALKINFO_IS_SLAT) 1014 1012 WalkResult.fIsSlat = true; … … 1025 1023 if (pWalkResult->fFailed & PGM_WALKFAIL_BAD_PHYSICAL_ADDRESS) 1026 1024 WalkResult.fBadPhysAddr = true; 1025 1026 /* 1027 * QueryPageFast() can return VERR_ACCESS_DENIED, which GetPage() doesn't, 1028 * so only copy the failed result if GetPage() is expected to fail as well. 1029 */ 1030 if (RT_FAILURE(rcExpected)) 1031 { 1032 WalkResult.fFailed = pWalkResult->fFailed; 1033 WalkResult.uLevel = (pWalkResult->fFailed & PGM_WALKFAIL_LEVEL_MASK) >> PGM_WALKFAIL_LEVEL_SHIFT; 1034 WalkResult.fSucceeded = false; 1035 } 1036 else 1037 WalkResult.fSucceeded = true; 1027 1038 1028 1039 /** @todo Incorporate EL (for nested virt and EL3 later on). */
Note:
See TracChangeset
for help on using the changeset viewer.