Changeset 81002 in vbox for trunk/include/VBox/vmm
- Timestamp:
- Sep 25, 2019 9:12:34 AM (5 years ago)
- Location:
- trunk/include/VBox/vmm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/hm.h
r80364 r81002 134 134 VMM_INT_DECL(bool) HMCanExecuteVmxGuest(PVMCC pVM, PVMCPUCC pVCpu, PCCPUMCTX pCtx); 135 135 VMM_INT_DECL(TRPMEVENT) HMVmxEventTypeToTrpmEventType(uint32_t uIntInfo); 136 VMM_INT_DECL(uint32_t) HMTrpmEventTypeToVmxEventType(uint8_t uVector, TRPMEVENT enmTrpmEvent );136 VMM_INT_DECL(uint32_t) HMTrpmEventTypeToVmxEventType(uint8_t uVector, TRPMEVENT enmTrpmEvent, bool fIcebp); 137 137 /** @} */ 138 138 -
trunk/include/VBox/vmm/trpm.h
r80938 r81002 41 41 42 42 /** 43 * T rap: error code present or not43 * TRPM event type. 44 44 */ 45 typedef enum46 {47 TRPM_TRAP_HAS_ERRORCODE = 0,48 TRPM_TRAP_NO_ERRORCODE,49 /** The usual 32-bit paranoia. */50 TRPM_TRAP_32BIT_HACK = 0x7fffffff51 } TRPMERRORCODE;52 53 /**54 * TRPM event type55 */56 /** Note: must match trpm.mac! */57 45 typedef enum 58 46 { … … 68 56 typedef TRPMEVENT const *PCTRPMEVENT; 69 57 70 /**71 * Invalid trap handler for trampoline calls72 */73 #define TRPM_INVALID_HANDLER 074 75 58 VMMDECL(int) TRPMQueryTrap(PVMCPU pVCpu, uint8_t *pu8TrapNo, PTRPMEVENT penmType); 76 59 VMMDECL(uint8_t) TRPMGetTrapNo(PVMCPU pVCpu); 77 VMMDECL( RTGCUINT) TRPMGetErrorCode(PVMCPU pVCpu);60 VMMDECL(uint32_t) TRPMGetErrorCode(PVMCPU pVCpu); 78 61 VMMDECL(RTGCUINTPTR) TRPMGetFaultAddress(PVMCPU pVCpu); 79 62 VMMDECL(uint8_t) TRPMGetInstrLength(PVMCPU pVCpu); 63 VMMDECL(bool) TRPMIsTrapDueToIcebp(PVMCPU pVCpu); 80 64 VMMDECL(int) TRPMResetTrap(PVMCPU pVCpu); 81 65 VMMDECL(int) TRPMAssertTrap(PVMCPUCC pVCpu, uint8_t u8TrapNo, TRPMEVENT enmType); 82 VMMDECL(int) TRPMAssertXcptPF(PVMCPUCC pVCpu, RTGCUINTPTR uCR2, RTGCUINTuErrorCode);83 VMMDECL(void) TRPMSetErrorCode(PVMCPU pVCpu, RTGCUINTuErrorCode);66 VMMDECL(int) TRPMAssertXcptPF(PVMCPUCC pVCpu, RTGCUINTPTR uCR2, uint32_t uErrorCode); 67 VMMDECL(void) TRPMSetErrorCode(PVMCPU pVCpu, uint32_t uErrorCode); 84 68 VMMDECL(void) TRPMSetFaultAddress(PVMCPU pVCpu, RTGCUINTPTR uCR2); 85 69 VMMDECL(void) TRPMSetInstrLength(PVMCPU pVCpu, uint8_t cbInstr); 70 VMMDECL(void) TRPMSetTrapDueToIcebp(PVMCPU pVCpu); 86 71 VMMDECL(bool) TRPMIsSoftwareInterrupt(PVMCPU pVCpu); 87 72 VMMDECL(bool) TRPMHasTrap(PVMCPU pVCpu); 88 VMMDECL(int) TRPMQueryTrapAll(PVMCPU pVCpu, uint8_t *pu8TrapNo, PTRPMEVENT pEnmType, PRTGCUINT puErrorCode, PRTGCUINTPTR puCR2, uint8_t *pcbInstr); 89 VMMDECL(void) TRPMSaveTrap(PVMCPU pVCpu); 90 VMMDECL(void) TRPMRestoreTrap(PVMCPU pVCpu); 91 VMMDECL(int) TRPMRaiseXcpt(PVMCPU pVCpu, PCPUMCTXCORE pCtxCore, X86XCPT enmXcpt); 92 VMMDECL(int) TRPMRaiseXcptErr(PVMCPU pVCpu, PCPUMCTXCORE pCtxCore, X86XCPT enmXcpt, uint32_t uErr); 93 VMMDECL(int) TRPMRaiseXcptErrCR2(PVMCPU pVCpu, PCPUMCTXCORE pCtxCore, X86XCPT enmXcpt, uint32_t uErr, RTGCUINTPTR uCR2); 94 73 VMMDECL(int) TRPMQueryTrapAll(PVMCPU pVCpu, uint8_t *pu8TrapNo, PTRPMEVENT pEnmType, uint32_t *puErrorCode, 74 PRTGCUINTPTR puCR2, uint8_t *pcbInstr, bool *pfIcebp); 95 75 96 76 #ifdef IN_RING3
Note:
See TracChangeset
for help on using the changeset viewer.