VirtualBox

Changeset 9154 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
May 27, 2008 11:33:58 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
31289
Message:

Corrected code that doesn't compile with GC_ARCH_BITS=64.

Location:
trunk/src/VBox/VMM
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/CPUM.cpp

    r8889 r9154  
    16841684 *                      In this context it's always pointer to the Core of a DBGFDISASSTATE.
    16851685 */
    1686 static DECLCALLBACK(int) cpumR3DisasInstrRead(RTHCUINTPTR PtrSrc, uint8_t *pu8Dst, uint32_t cbRead, void *uDisCpu)
     1686static DECLCALLBACK(int) cpumR3DisasInstrRead(RTUINTPTR PtrSrc, uint8_t *pu8Dst, uint32_t cbRead, void *uDisCpu)
    16871687{
    16881688    PDISCPUSTATE pCpu = (PDISCPUSTATE)uDisCpu;
  • trunk/src/VBox/VMM/DBGFDisas.cpp

    r8155 r9154  
    4545*   Internal Functions                                                         *
    4646*******************************************************************************/
    47 static DECLCALLBACK(int) dbgfR3DisasInstrRead(RTHCUINTPTR pSrc, uint8_t *pDest, uint32_t size, void *pvUserdata);
     47static DECLCALLBACK(int) dbgfR3DisasInstrRead(RTUINTPTR pSrc, uint8_t *pDest, uint32_t size, void *pvUserdata);
    4848
    4949
     
    168168 *                      In this context it's always pointer to the Core of a DBGFDISASSTATE.
    169169 */
    170 static DECLCALLBACK(int) dbgfR3DisasInstrRead(RTHCUINTPTR PtrSrc, uint8_t *pu8Dst, uint32_t cbRead, void *pvDisCpu)
     170static DECLCALLBACK(int) dbgfR3DisasInstrRead(RTUINTPTR PtrSrc, uint8_t *pu8Dst, uint32_t cbRead, void *pvDisCpu)
    171171{
    172172    PDBGFDISASSTATE pState = (PDBGFDISASSTATE)pvDisCpu;
  • trunk/src/VBox/VMM/PDMCritSect.cpp

    r8155 r9154  
    147147PDMR3DECL(int) PDMR3CritSectInit(PVM pVM, PPDMCRITSECT pCritSect, const char *pszName)
    148148{
     149#if HC_ARCH_BITS == 64 && GC_ARCH_BITS == 32
    149150    AssertCompile(sizeof(pCritSect->padding) >= sizeof(pCritSect->s));
     151#endif
    150152    return pdmR3CritSectInitOne(pVM, &pCritSect->s, pCritSect, pszName);
    151153}
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