VirtualBox

Changeset 9083 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 23, 2008 1:16:23 PM (17 years ago)
Author:
vboxsync
Message:

Minor update

Location:
trunk/src/VBox/VMM/VMMAll
Files:
2 edited

Legend:

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

    r9069 r9083  
    8585 * @param   pSrc        GC source pointer
    8686 * @param   pDest       HC destination pointer
    87  * @param   size        Number of bytes to read
     87 * @param   cb          Number of bytes to read
    8888 * @param   dwUserdata  Callback specific user data (pCpu)
    8989 *
    9090 */
    91 DECLCALLBACK(int) EMReadBytes(RTHCUINTPTR pSrc, uint8_t *pDest, unsigned size, void *pvUserdata)
     91DECLCALLBACK(int) EMReadBytes(RTHCUINTPTR pSrc, uint8_t *pDest, unsigned cb, void *pvUserdata)
    9292{
    9393    DISCPUSTATE  *pCpu     = (DISCPUSTATE *)pvUserdata;
    9494    PVM           pVM      = (PVM)pCpu->apvUserData[0];
    9595#ifdef IN_RING0
    96     int rc = PGMPhysReadGCPtr(pVM, pDest, pSrc, size);
     96    int rc = PGMPhysReadGCPtr(pVM, pDest, pSrc, cb);
    9797    AssertRC(rc);
    9898#else
    9999    if (!PATMIsPatchGCAddr(pVM, pSrc))
    100100    {
    101         int rc = PGMPhysReadGCPtr(pVM, pDest, pSrc, size);
     101        int rc = PGMPhysReadGCPtr(pVM, pDest, pSrc, cb);
    102102        AssertRC(rc);
    103103    }
    104104    else
    105105    {
    106         for (uint32_t i = 0; i < size; i++)
     106        for (uint32_t i = 0; i < cb; i++)
    107107        {
    108108            uint8_t opcode;
  • trunk/src/VBox/VMM/VMMAll/TMAllCpu.cpp

    r8155 r9083  
    3434#include <iprt/assert.h>
    3535#include <iprt/asm.h>
    36 #include <iprt/log.h>
     36#include <VBox/log.h>
    3737
    3838
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