Changeset 102429 in vbox
- Timestamp:
- Dec 2, 2023 12:01:14 AM (14 months ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllInstPython.py
r102428 r102429 3020 3020 'IEM_MC_MAYBE_RAISE_SSE_RELATED_XCPT': (McBlock.parseMcGeneric, True, False, ), 3021 3021 'IEM_MC_MAYBE_RAISE_WAIT_DEVICE_NOT_AVAILABLE': (McBlock.parseMcGeneric, True, False, ), 3022 'IEM_MC_MEM_COMMIT_AND_UNMAP': (McBlock.parseMcGeneric, True, False, ),3023 3022 'IEM_MC_MEM_COMMIT_AND_UNMAP_RW': (McBlock.parseMcGeneric, True, False, ), 3024 3023 'IEM_MC_MEM_COMMIT_AND_UNMAP_RO': (McBlock.parseMcGeneric, True, False, ), 3025 3024 'IEM_MC_MEM_COMMIT_AND_UNMAP_WO': (McBlock.parseMcGeneric, True, False, ), 3026 'IEM_MC_MEM_COMMIT_AND_UNMAP_FOR_FPU_STORE': (McBlock.parseMcGeneric, True, False, ),3027 3025 'IEM_MC_MEM_COMMIT_AND_UNMAP_FOR_FPU_STORE_WO': (McBlock.parseMcGeneric, True, False, ), 3028 'IEM_MC_MEM_MAP': (McBlock.parseMcGeneric, True, False, ),3029 'IEM_MC_MEM_MAP_EX': (McBlock.parseMcGeneric, True, False, ),3030 3026 'IEM_MC_MEM_MAP_D80_WO': (McBlock.parseMcGeneric, True, False, ), 3031 3027 'IEM_MC_MEM_MAP_I16_WO': (McBlock.parseMcGeneric, True, False, ), -
trunk/src/VBox/VMM/VMMAll/IEMAllN8vePython.py
r102428 r102429 144 144 'IEM_MC_FETCH_MEM_FLAT_U128_AND_XREG_U128_AND_RAX_RDX_U64': (None, True, False, ), 145 145 'IEM_MC_FETCH_MEM_FLAT_U128_AND_XREG_U128_AND_EAX_EDX_U32_SX_U64': (None, True, False, ), 146 'IEM_MC_MEM_FLAT_MAP_EX': (None, True, False, ),147 'IEM_MC_MEM_FLAT_MAP': (None, True, False, ),148 146 'IEM_MC_MEM_FLAT_MAP_D80_WO': (None, True, False, ), 149 147 'IEM_MC_MEM_FLAT_MAP_I16_WO': (None, True, False, ), -
trunk/src/VBox/VMM/VMMAll/IEMAllThrdPython.py
r102428 r102429 704 704 'IEM_MC_STORE_MEM_U256': ( 0, 'IEM_MC_STORE_MEM_FLAT_U256' ), 705 705 'IEM_MC_STORE_MEM_U256_ALIGN_AVX': ( 0, 'IEM_MC_STORE_MEM_FLAT_U256_ALIGN_AVX' ), 706 'IEM_MC_MEM_MAP': ( 2, 'IEM_MC_MEM_FLAT_MAP' ),707 706 'IEM_MC_MEM_MAP_D80_WO': ( 2, 'IEM_MC_MEM_FLAT_MAP_D80_WO' ), 708 707 'IEM_MC_MEM_MAP_I16_WO': ( 2, 'IEM_MC_MEM_FLAT_MAP_I16_WO' ), -
trunk/src/VBox/VMM/include/IEMMc.h
r102428 r102429 1504 1504 # define IEM_MC_FLAT64_POP_U64(a_pu64Value) (*(a_pu64Value) = iemMemFlat64StackPopU64Jmp(pVCpu)) 1505 1505 #endif 1506 1507 1508 /** Maps guest memory for direct or bounce buffered access.1509 * The purpose is to pass it to an operand implementation, thus the a_iArg.1510 * @remarks May return.1511 * @deprecated1512 */1513 #define IEM_MC_MEM_MAP(a_pMem, a_fAccess, a_iSeg, a_GCPtrMem, a_iArg) \1514 IEM_MC_RETURN_ON_FAILURE(iemMemMap(pVCpu, (void **)&(a_pMem), sizeof(*(a_pMem)), (a_iSeg), \1515 (a_GCPtrMem), (a_fAccess), sizeof(*(a_pMem)) - 1))1516 1517 /** Flat variant of IEM_MC_MEM_MAP.1518 * @deprecated1519 */1520 #define IEM_MC_MEM_FLAT_MAP(a_pMem, a_fAccess, a_GCPtrMem, a_iArg) \1521 IEM_MC_RETURN_ON_FAILURE(iemMemMap(pVCpu, (void **)&(a_pMem), sizeof(*(a_pMem)), UINT8_MAX, \1522 (a_GCPtrMem), (a_fAccess), sizeof(*(a_pMem)) - 1))1523 1524 /** Maps guest memory for direct or bounce buffered access.1525 * The purpose is to pass it to an operand implementation, thus the a_iArg.1526 * @remarks May return.1527 * @deprecated1528 */1529 #define IEM_MC_MEM_MAP_EX(a_pvMem, a_fAccess, a_cbMem, a_iSeg, a_GCPtrMem, a_cbAlign, a_iArg) \1530 IEM_MC_RETURN_ON_FAILURE(iemMemMap(pVCpu, (void **)&(a_pvMem), (a_cbMem), (a_iSeg), \1531 (a_GCPtrMem), (a_fAccess), (a_cbAlign)))1532 1533 /** Flat variant of IEM_MC_MEM_MAP_EX.1534 * @deprecated1535 */1536 #define IEM_MC_MEM_FLAT_MAP_EX(a_pvMem, a_fAccess, a_cbMem, a_GCPtrMem, a_cbAlign, a_iArg) \1537 IEM_MC_RETURN_ON_FAILURE(iemMemMap(pVCpu, (void **)&(a_pvMem), (a_cbMem), UINT8_MAX, \1538 (a_GCPtrMem), (a_fAccess), (a_cbAlign)))1539 1540 /** Commits the memory and unmaps the guest memory.1541 * @remarks May return.1542 * @deprecated1543 */1544 #define IEM_MC_MEM_COMMIT_AND_UNMAP(a_pvMem, a_fAccess) \1545 IEM_MC_RETURN_ON_FAILURE(iemMemCommitAndUnmap(pVCpu, (a_pvMem), (a_fAccess)))1546 1506 1547 1507 -
trunk/src/VBox/VMM/testcase/tstIEMCheckMc.cpp
r102428 r102429 957 957 #define IEM_MC_MEM_COMMIT_AND_UNMAP_WO(a_pvMem, a_bMapInfo) do { CHK_VAR(a_pvMem); CHK_VAR(a_bMapInfo); CHK_TYPE(uint8_t, a_bMapInfo); (void)fMcBegin; } while (0) 958 958 #define IEM_MC_MEM_ROLLBACK_AND_UNMAP_WO(a_pvMem, a_bMapInfo) do { CHK_VAR(a_pvMem); CHK_VAR(a_bMapInfo); CHK_TYPE(uint8_t, a_bMapInfo); (void)fMcBegin; } while (0) 959 960 #define IEM_MC_MEM_MAP(a_pMem, a_fAccess, a_iSeg, a_GCPtrMem, a_iArg) do { CHK_VAR(a_pMem); CHK_VAR(a_GCPtrMem); CHK_SEG_IDX(a_iSeg); (void)fMcBegin; } while (0) 961 #define IEM_MC_MEM_MAP_EX(a_pvMem, a_fAccess, a_cbMem, a_iSeg, a_GCPtrMem, a_cbAlign, a_iArg) do { CHK_VAR(a_pvMem); CHK_VAR(a_GCPtrMem); CHK_SEG_IDX(a_iSeg); (void)fMcBegin; AssertCompile((a_cbAlign) <= (a_cbMem)); } while (0) 962 #define IEM_MC_MEM_COMMIT_AND_UNMAP(a_pvMem, a_fAccess) do { CHK_VAR(a_pvMem); (void)fMcBegin; } while (0) 963 #define IEM_MC_MEM_COMMIT_AND_UNMAP_FOR_FPU_STORE(a_pvMem, a_fAccess, a_u16FSW) do { CHK_VAR(a_pvMem); (void)fMcBegin; } while (0) 964 #define IEM_MC_MEM_COMMIT_AND_UNMAP_FOR_FPU_STORE_WO(a_pvMem, a_bMapInfo, a_u16FSW) do { CHK_VAR(a_pvMem); CHK_VAR(a_bMapInfo); CHK_VAR(a_u16FSW); (void)fMcBegin; } while (0) 959 #define IEM_MC_MEM_COMMIT_AND_UNMAP_FOR_FPU_STORE_WO(a_pvMem, a_bMapInfo, a_u16FSW) do { CHK_VAR(a_pvMem); CHK_VAR(a_bMapInfo); CHK_VAR(a_u16FSW); (void)fMcBegin; } while (0) 960 965 961 #define IEM_MC_CALC_RM_EFF_ADDR(a_GCPtrEff, a_bRm, a_cbImmAndRspOffset) do { (a_GCPtrEff) = 0; CHK_GCPTR(a_GCPtrEff); (void)fMcBegin; } while (0) 966 962 #define IEM_MC_CALL_VOID_AIMPL_0(a_pfn) do { (void)fMcBegin; } while (0)
Note:
See TracChangeset
for help on using the changeset viewer.