Changeset 4806 in vbox
- Timestamp:
- Sep 14, 2007 4:04:23 PM (17 years ago)
- Location:
- trunk/src/VBox/HostDrivers/Support
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDRVIOC.h
r4805 r4806 358 358 uint32_t offSymbol; 359 359 } SUPLDRSYM, *PSUPLDRSYM; 360 361 /** 362 * SUPLDRLOAD::u::In::EP type. 363 */ 364 typedef enum SUPLDRLOADEP 365 { 366 SUPLDRLOADEP_NOTHING = 0, 367 SUPLDRLOADEP_VMMR0, 368 SUPLDRLOADEP_32BIT_HACK = 0x7fffffff 369 } SUPLDRLOADEP; 360 370 361 371 typedef struct SUPLDRLOAD … … 385 395 RTR0PTR pvImageBase; 386 396 /** Entry point type. */ 387 enum { EP_NOTHING, EP_VMMR0 } 388 eEPType; 397 SUPLDRLOADEP eEPType; 389 398 /** The offset of the symbol table. */ 390 399 uint32_t offSymbols; -
trunk/src/VBox/HostDrivers/Support/SUPDRVShared.c
r4800 r4806 3215 3215 switch (pReq->u.In.eEPType) 3216 3216 { 3217 case EP_NOTHING:3217 case SUPLDRLOADEP_NOTHING: 3218 3218 break; 3219 case EP_VMMR0:3219 case SUPLDRLOADEP_VMMR0: 3220 3220 if (!pReq->u.In.EP.VMMR0.pvVMMR0 || !pReq->u.In.EP.VMMR0.pvVMMR0Entry) 3221 3221 { … … 3274 3274 { 3275 3275 default: 3276 case EP_NOTHING:3276 case SUPLDRLOADEP_NOTHING: 3277 3277 rc = VINF_SUCCESS; 3278 3278 break; 3279 case EP_VMMR0:3279 case SUPLDRLOADEP_VMMR0: 3280 3280 rc = supdrvLdrSetR0EP(pDevExt, pReq->u.In.EP.VMMR0.pvVMMR0, pReq->u.In.EP.VMMR0.pvVMMR0Entry); 3281 3281 break; -
trunk/src/VBox/HostDrivers/Support/SUPLib.cpp
r4800 r4806 1544 1544 if (fIsVMMR0) 1545 1545 { 1546 pLoadReq->u.In.eEPType = pLoadReq->u.In.EP_VMMR0;1546 pLoadReq->u.In.eEPType = SUPLDRLOADEP_VMMR0; 1547 1547 pLoadReq->u.In.EP.VMMR0.pvVMMR0 = OpenReq.u.Out.pvImageBase; 1548 1548 pLoadReq->u.In.EP.VMMR0.pvVMMR0Entry = (RTR0PTR)VMMR0Entry; 1549 1549 } 1550 1550 else 1551 pLoadReq->u.In.eEPType = pLoadReq->u.In.EP_NOTHING;1551 pLoadReq->u.In.eEPType = SUPLDRLOADEP_NOTHING; 1552 1552 pLoadReq->u.In.offStrTab = offStrTab; 1553 1553 pLoadReq->u.In.cbStrTab = (uint32_t)CalcArgs.cbStrings;
Note:
See TracChangeset
for help on using the changeset viewer.