VirtualBox

Changeset 1133 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Mar 1, 2007 1:39:47 PM (18 years ago)
Author:
vboxsync
Message:

Added CPUMGCCallV86Code.
PATM cleanup

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/cpum.h

    r1088 r1133  
    780780CPUMGCDECL(void) CPUMGCCallGuestTrapHandler(PCPUMCTXCORE pRegFrame, uint32_t selCS, RTGCPTR pHandler, uint32_t eflags, uint32_t selSS, RTGCPTR pEsp);
    781781
     782/**
     783 * Performs an iret to V86 code
     784 * Assumes a trap stack frame has already been setup on the guest's stack!
     785 *
     786 * @param   pRegFrame   Original trap/interrupt context
     787 *
     788 * This function does not return!
     789 */
     790CPUMGCDECL(void) CPUMGCCallV86Code(PCPUMCTXCORE pRegFrame);
     791
    782792/** @} */
    783793#endif
  • trunk/include/VBox/patm.h

    r1085 r1133  
    225225 * @param   pRelBranchPatch     Relative duplicated function address
    226226 */
    227 int PATMAddBranchToLookupCache(PVM pVM, RTGCPTR pJumpTableGC, RTGCPTR pBranchTarget, RTGCUINTPTR pRelBranchPatch);
     227PATMDECL(int) PATMAddBranchToLookupCache(PVM pVM, RTGCPTR pJumpTableGC, RTGCPTR pBranchTarget, RTGCUINTPTR pRelBranchPatch);
    228228
    229229
     
    237237 */
    238238PATMDECL(int) PATMHandleInt3PatchTrap(PVM pVM, PCPUMCTXCORE pRegFrame);
    239 
    240 /**
    241  * Checks if the illegal instruction was caused by a patched instruction
    242  *
    243  * @returns VBox status
    244  *
    245  * @param   pVM         The VM handle.
    246  * @param   pCtxCore    The relevant core context.
    247  */
    248 PATMDECL(int) PATMHandleIllegalInstrTrap(PVM pVM, PCPUMCTXCORE pRegFrame);
    249239
    250240/**
     
    314304PATMGCDECL(int) PATMGCHandleWriteToPatchPage(PVM pVM, PCPUMCTXCORE pRegFrame, RTGCPTR GCPtr, uint32_t cbWrite);
    315305
     306/**
     307 * Checks if the illegal instruction was caused by a patched instruction
     308 *
     309 * @returns VBox status
     310 *
     311 * @param   pVM         The VM handle.
     312 * @param   pCtxCore    The relevant core context.
     313 */
     314PATMDECL(int) PATMGCHandleIllegalInstrTrap(PVM pVM, PCPUMCTXCORE pRegFrame);
     315
    316316/** @} */
    317317
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette