VirtualBox

Changeset 78530 in vbox for trunk/src/VBox/Devices/USB


Ignore:
Timestamp:
May 15, 2019 1:06:08 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
130574
Message:

Build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/USB/DevOHCI.cpp

    r78529 r78530  
    20962096 *
    20972097 * @returns Flags whether the buffer could be initialised successfully.
     2098 * @param   pThis   The OHCI instance.
    20982099 * @param   pBuf    Ohci buffer.
    20992100 * @param   cbp     Current buffer pointer. 32-bit physical address.
    21002101 * @param   be      Last byte in buffer (BufferEnd). 32-bit physical address.
    21012102 */
    2102 static bool ohciR3BufInit(POHCIBUF pBuf, uint32_t cbp, uint32_t be)
     2103static bool ohciR3BufInit(POHCI pThis, POHCIBUF pBuf, uint32_t cbp, uint32_t be)
    21032104{
    21042105    if (RT_UNLIKELY(be < cbp))
    21052106    {
    2106         LogRelMax(10, ("OHCI#%d: cbp=%#010x be=%#010x\n", cbp, be));
     2107        LogRelMax(10, ("OHCI#%d: cbp=%#010x be=%#010x\n", pThis->pDevInsR3->iInstance, cbp, be));
    21072108        return false;
    21082109    }
     
    26832684         */
    26842685        OHCIBUF Buf;
    2685         if (!ohciR3BufInit(&Buf, pTd->cbp, pTd->be))
     2686        if (!ohciR3BufInit(pThis, &Buf, pTd->cbp, pTd->be))
    26862687        {
    26872688            ohciR3RaiseUnrecoverableError(pThis, 1);
     
    29782979    ohciR3ReadTd(pThis, TdAddr, &Td);
    29792980    OHCIBUF Buf;
    2980     if (!ohciR3BufInit(&Buf, Td.cbp, Td.be))
     2981    if (!ohciR3BufInit(pThis, &Buf, Td.cbp, Td.be))
    29812982    {
    29822983        ohciR3RaiseUnrecoverableError(pThis, 3);
     
    31193120    /* read the head */
    31203121    ohciR3ReadTd(pThis, TdAddr, &Head.Td);
    3121     if (!ohciR3BufInit(&Head.Buf, Head.Td.cbp, Head.Td.be))
     3122    if (!ohciR3BufInit(pThis, &Head.Buf, Head.Td.cbp, Head.Td.be))
    31223123    {
    31233124        ohciR3RaiseUnrecoverableError(pThis, 6);
     
    31413142        pCur->TdAddr = pTail->Td.NextTD & ED_PTR_MASK;
    31423143        ohciR3ReadTd(pThis, pCur->TdAddr, &pCur->Td);
    3143         if (!ohciR3BufInit(&pCur->Buf, pCur->Td.cbp, pCur->Td.be))
     3144        if (!ohciR3BufInit(pThis, &pCur->Buf, pCur->Td.cbp, pCur->Td.be))
    31443145        {
    31453146            ohciR3RaiseUnrecoverableError(pThis, 7);
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