Changeset 3393 in vbox for trunk/src/VBox/HostDrivers/Support/SUPLib.cpp
- Timestamp:
- Jul 3, 2007 3:36:47 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPLib.cpp
r3177 r3393 93 93 * @todo This will probably deserve it's own session or some other good solution... 94 94 */ 95 DECLEXPORT(P CSUPGLOBALINFOPAGE)g_pSUPGlobalInfoPage;95 DECLEXPORT(PSUPGLOBALINFOPAGE) g_pSUPGlobalInfoPage; 96 96 /** Address of the ring-0 mapping of the GIP. */ 97 static P CSUPGLOBALINFOPAGEg_pSUPGlobalInfoPageR0;97 static PSUPGLOBALINFOPAGE g_pSUPGlobalInfoPageR0; 98 98 /** The physical address of the GIP. */ 99 99 static RTHCPHYS g_HCPhysSUPGlobalInfoPage = NIL_RTHCPHYS; … … 254 254 else 255 255 { 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", 257 257 Out.u32SessionVersion, Out.u32DriverVersion, SUPDRVIOC_VERSION)); 258 258 rc = VERR_VM_DRIVER_VERSION_MISMATCH; … … 264 264 rc = VERR_VM_DRIVER_VERSION_MISMATCH; 265 265 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", 267 267 Out.u32DriverVersion, SUPDRVIOC_VERSION)); 268 268 else … … 343 343 344 344 /* fake the GIP. */ 345 g_pSUPGlobalInfoPage = (P CSUPGLOBALINFOPAGE)RTMemPageAlloc(PAGE_SIZE);345 g_pSUPGlobalInfoPage = (PSUPGLOBALINFOPAGE)RTMemPageAlloc(PAGE_SIZE); 346 346 if (g_pSUPGlobalInfoPage) 347 347 { … … 1257 1257 pIn->eEPType = pIn->EP_NOTHING; 1258 1258 pIn->offStrTab = offStrTab; 1259 pIn->cbStrTab = (uint32_t)CalcArgs.cbStrings; 1259 pIn->cbStrTab = (uint32_t)CalcArgs.cbStrings; 1260 1260 AssertRelease(pIn->cbStrTab == CalcArgs.cbStrings); 1261 1261 pIn->offSymbols = offSymTab; … … 1286 1286 } 1287 1287 } 1288 else if (VBOX_SUCCESS(rc) && fIsVMMR0) 1288 else if (VBOX_SUCCESS(rc) && fIsVMMR0) 1289 1289 g_pvVMMR0 = OpenOut.pvImageBase; 1290 1290 }
Note:
See TracChangeset
for help on using the changeset viewer.