VirtualBox

Changeset 41731 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Jun 14, 2012 11:41:13 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
78539
Message:

DIS: Split up apvUserData, dropping the 3rd entry. 2nd entry (now pvUser2) is only used by CSAM. Reduces the DISCPUSTATE by another 8 bytes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/EMAll.cpp

    r41729 r41731  
    286286static DECLCALLBACK(int) emReadBytes(PDISCPUSTATE pDisState, uint8_t *pbDst, RTUINTPTR uSrcAddr, uint32_t cbToRead)
    287287{
    288     PEMDISSTATE   pState = (PEMDISSTATE)pDisState->apvUserData[0];
     288    PEMDISSTATE   pState = (PEMDISSTATE)pDisState->pvUser;
    289289# ifndef IN_RING0
    290290    PVM           pVM    = pState->pVM;
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