VirtualBox

Ignore:
Timestamp:
Jul 3, 2007 3:36:47 PM (17 years ago)
Author:
vboxsync
Message:

Removed PCSUPGLOBALINFOPAGE and PCSUPGIPCPU to avoid const/volatile confusion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPLib.cpp

    r3177 r3393  
    9393 * @todo This will probably deserve it's own session or some other good solution...
    9494 */
    95 DECLEXPORT(PCSUPGLOBALINFOPAGE) g_pSUPGlobalInfoPage;
     95DECLEXPORT(PSUPGLOBALINFOPAGE) g_pSUPGlobalInfoPage;
    9696/** Address of the ring-0 mapping of the GIP. */
    97 static PCSUPGLOBALINFOPAGE      g_pSUPGlobalInfoPageR0;
     97static PSUPGLOBALINFOPAGE       g_pSUPGlobalInfoPageR0;
    9898/** The physical address of the GIP. */
    9999static RTHCPHYS                 g_HCPhysSUPGlobalInfoPage = NIL_RTHCPHYS;
     
    254254            else
    255255            {
    256                 LogRel(("Support driver version mismatch: SessionVersion=%#x DriverVersion=%#x ClientVersion=%#x\n", 
     256                LogRel(("Support driver version mismatch: SessionVersion=%#x DriverVersion=%#x ClientVersion=%#x\n",
    257257                        Out.u32SessionVersion, Out.u32DriverVersion, SUPDRVIOC_VERSION));
    258258                rc = VERR_VM_DRIVER_VERSION_MISMATCH;
     
    264264                 rc = VERR_VM_DRIVER_VERSION_MISMATCH;
    265265             if (rc == VERR_VM_DRIVER_VERSION_MISMATCH)
    266                  LogRel(("Support driver version mismatch: DriverVersion=%#x ClientVersion=%#x\n", 
     266                 LogRel(("Support driver version mismatch: DriverVersion=%#x ClientVersion=%#x\n",
    267267                         Out.u32DriverVersion, SUPDRVIOC_VERSION));
    268268             else
     
    343343
    344344        /* fake the GIP. */
    345         g_pSUPGlobalInfoPage = (PCSUPGLOBALINFOPAGE)RTMemPageAlloc(PAGE_SIZE);
     345        g_pSUPGlobalInfoPage = (PSUPGLOBALINFOPAGE)RTMemPageAlloc(PAGE_SIZE);
    346346        if (g_pSUPGlobalInfoPage)
    347347        {
     
    12571257                        pIn->eEPType                = pIn->EP_NOTHING;
    12581258                    pIn->offStrTab                  = offStrTab;
    1259                     pIn->cbStrTab                   = (uint32_t)CalcArgs.cbStrings; 
     1259                    pIn->cbStrTab                   = (uint32_t)CalcArgs.cbStrings;
    12601260                    AssertRelease(pIn->cbStrTab == CalcArgs.cbStrings);
    12611261                    pIn->offSymbols                 = offSymTab;
     
    12861286            }
    12871287        }
    1288         else if (VBOX_SUCCESS(rc) && fIsVMMR0) 
     1288        else if (VBOX_SUCCESS(rc) && fIsVMMR0)
    12891289            g_pvVMMR0 = OpenOut.pvImageBase;
    12901290    }
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