VirtualBox

Changeset 72490 in vbox for trunk/include


Ignore:
Timestamp:
Jun 9, 2018 3:11:13 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
122975
Message:

NEM,EM: Generic optimization of I/O port accesses that have to be executed in ring-3. Only NEM uses the feature for now. bugref:9044 bugref:9193

Location:
trunk/include/VBox
Files:
2 edited

Legend:

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

    r72456 r72490  
    253253/** Guest tried to trigger a CPU hang.  The guest is probably up to no good. */
    254254#define VERR_EM_GUEST_CPU_HANG              (-1158)
     255/** Reason for leaving RZ: Pending ring-3 IN instruction. */
     256#define VINF_EM_PENDING_R3_IOPORT_READ       1159
     257/** Reason for leaving RZ: Pending ring-3 OUT instruction. */
     258#define VINF_EM_PENDING_R3_IOPORT_WRITE      1160
    255259/** @} */
    256260
  • trunk/include/VBox/vmm/em.h

    r72462 r72490  
    209209VMM_INT_DECL(int)               EMMonitorWaitPerform(PVMCPU pVCpu, uint64_t rax, uint64_t rcx);
    210210VMM_INT_DECL(int)               EMUnhaltAndWakeUp(PVM pVM, PVMCPU pVCpuDst);
     211VMMRZ_INT_DECL(VBOXSTRICTRC)    EMRZSetPendingIoPortWrite(PVMCPU pVCpu, RTIOPORT uPort, uint8_t cbInstr, uint8_t cbValue, uint32_t uValue);
     212VMMRZ_INT_DECL(VBOXSTRICTRC)    EMRZSetPendingIoPortRead(PVMCPU pVCpu, RTIOPORT uPort, uint8_t cbInstr, uint8_t cbValue);
    211213
    212214/** @name Assembly routines
Note: See TracChangeset for help on using the changeset viewer.

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