Changeset 19015 in vbox for trunk/include/VBox
- Timestamp:
- Apr 20, 2009 7:54:29 AM (16 years ago)
- Location:
- trunk/include/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/trpm.h
r18927 r19015 74 74 #define TRPM_INVALID_HANDLER 0 75 75 76 VMMDECL(int) TRPMQueryTrap(PVM pVM, uint8_t *pu8TrapNo, PTRPMEVENT pEnmType);77 VMMDECL(uint8_t) TRPMGetTrapNo(PVM pVM);78 VMMDECL(RTGCUINT) TRPMGetErrorCode(PVM pVM);79 VMMDECL(RTGCUINTPTR) TRPMGetFaultAddress(PVM pVM);80 VMMDECL(int) TRPMResetTrap(PVM pVM);81 VMMDECL(int) TRPMAssertTrap(PVM pVM, uint8_t u8TrapNo, TRPMEVENT enmType);82 VMMDECL(void) TRPMSetErrorCode(PVM pVM, RTGCUINT uErrorCode);83 VMMDECL(void) TRPMSetFaultAddress(PVM pVM, RTGCUINTPTR uCR2);84 VMMDECL(bool) TRPMIsSoftwareInterrupt(PVM pVM);85 VMMDECL(bool) TRPMHasTrap(PVM pVM);86 VMMDECL(int) TRPMQueryTrapAll(PVM pVM, uint8_t *pu8TrapNo, PTRPMEVENT pEnmType, PRTGCUINT puErrorCode, PRTGCUINTPTR puCR2);87 VMMDECL(void) TRPMSaveTrap(PVM pVM);88 VMMDECL(void) TRPMRestoreTrap(PVM pVM);89 VMMDECL(int) TRPMForwardTrap(PVM pVM, PCPUMCTXCORE pRegFrame, uint32_t iGate, uint32_t opsize, TRPMERRORCODE enmError, TRPMEVENT enmType, int32_t iOrgTrap);90 VMMDECL(int) TRPMRaiseXcpt(PVM pVM, PCPUMCTXCORE pCtxCore, X86XCPT enmXcpt);91 VMMDECL(int) TRPMRaiseXcptErr(PVM pVM, PCPUMCTXCORE pCtxCore, X86XCPT enmXcpt, uint32_t uErr);92 VMMDECL(int) TRPMRaiseXcptErrCR2(PVM pVM, PCPUMCTXCORE pCtxCore, X86XCPT enmXcpt, uint32_t uErr, RTGCUINTPTR uCR2);76 VMMDECL(int) TRPMQueryTrap(PVMCPU pVCpu, uint8_t *pu8TrapNo, PTRPMEVENT pEnmType); 77 VMMDECL(uint8_t) TRPMGetTrapNo(PVMCPU pVCpu); 78 VMMDECL(RTGCUINT) TRPMGetErrorCode(PVMCPU pVCpu); 79 VMMDECL(RTGCUINTPTR) TRPMGetFaultAddress(PVMCPU pVCpu); 80 VMMDECL(int) TRPMResetTrap(PVMCPU pVCpu); 81 VMMDECL(int) TRPMAssertTrap(PVMCPU pVCpu, uint8_t u8TrapNo, TRPMEVENT enmType); 82 VMMDECL(void) TRPMSetErrorCode(PVMCPU pVCpu, RTGCUINT uErrorCode); 83 VMMDECL(void) TRPMSetFaultAddress(PVMCPU pVCpu, RTGCUINTPTR uCR2); 84 VMMDECL(bool) TRPMIsSoftwareInterrupt(PVMCPU pVCpu); 85 VMMDECL(bool) TRPMHasTrap(PVMCPU pVCpu); 86 VMMDECL(int) TRPMQueryTrapAll(PVMCPU pVCpu, uint8_t *pu8TrapNo, PTRPMEVENT pEnmType, PRTGCUINT puErrorCode, PRTGCUINTPTR puCR2); 87 VMMDECL(void) TRPMSaveTrap(PVMCPU pVCpu); 88 VMMDECL(void) TRPMRestoreTrap(PVMCPU pVCpu); 89 VMMDECL(int) TRPMForwardTrap(PVMCPU pVCpu, PCPUMCTXCORE pRegFrame, uint32_t iGate, uint32_t opsize, TRPMERRORCODE enmError, TRPMEVENT enmType, int32_t iOrgTrap); 90 VMMDECL(int) TRPMRaiseXcpt(PVMCPU pVCpu, PCPUMCTXCORE pCtxCore, X86XCPT enmXcpt); 91 VMMDECL(int) TRPMRaiseXcptErr(PVMCPU pVCpu, PCPUMCTXCORE pCtxCore, X86XCPT enmXcpt, uint32_t uErr); 92 VMMDECL(int) TRPMRaiseXcptErrCR2(PVMCPU pVCpu, PCPUMCTXCORE pCtxCore, X86XCPT enmXcpt, uint32_t uErr, RTGCUINTPTR uCR2); 93 93 94 94 -
trunk/include/VBox/vm.h
r18927 r19015 150 150 char padding[2048]; /* multiple of 64 */ 151 151 } em; 152 153 /** TRPM part. */ 154 union 155 { 156 #ifdef ___TRPMInternal_h 157 struct TRPMCPU s; 158 #endif 159 char padding[64]; /* multiple of 64 */ 160 } trpm; 152 161 153 162 /** TM part. */
Note:
See TracChangeset
for help on using the changeset viewer.