Changeset 1480 in vbox for trunk/src/VBox/HostDrivers/Support/SUPLib.cpp
- Timestamp:
- Mar 14, 2007 6:27:47 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPLib.cpp
r1199 r1480 474 474 In.u32Cookie = g_u32Cookie; 475 475 In.u32SessionCookie = g_u32SessionCookie; 476 In.pv 476 In.pvR3 = pvStart; 477 477 In.cb = (uint32_t)cbMemory; AssertRelease(In.cb == cbMemory); 478 478 int rc; … … 529 529 In.u32Cookie = g_u32Cookie; 530 530 In.u32SessionCookie = g_u32SessionCookie; 531 In.pv 531 In.pvR3 = pvStart; 532 532 int rc; 533 533 if (!g_u32FakeMode) … … 602 602 In.u32Cookie = g_u32Cookie; 603 603 In.u32SessionCookie = g_u32SessionCookie; 604 In.pv 604 In.pvR3 = pv; 605 605 int rc; 606 606 if (!g_u32FakeMode) … … 613 613 614 614 615 SUPR3DECL(int) SUPLowAlloc(unsigned cPages, void **ppvPages, P SUPPAGE paPages)615 SUPR3DECL(int) SUPLowAlloc(unsigned cPages, void **ppvPages, PRTR0PTR ppvPagesR0, PSUPPAGE paPages) 616 616 { 617 617 /* … … 640 640 if (VBOX_SUCCESS(rc)) 641 641 { 642 *ppvPages = pOut->pvVirt; 642 *ppvPages = pOut->pvR3; 643 if (ppvPagesR0) 644 *ppvPagesR0 = pOut->pvR0; 643 645 AssertCompile(sizeof(paPages[0]) == sizeof(pOut->aPages[0])); 644 646 memcpy(paPages, &pOut->aPages[0], sizeof(paPages[0]) * cPages); … … 688 690 In.u32Cookie = g_u32Cookie; 689 691 In.u32SessionCookie = g_u32SessionCookie; 690 In.pv 692 In.pvR3 = pv; 691 693 int rc; 692 694 if (!g_u32FakeMode)
Note:
See TracChangeset
for help on using the changeset viewer.