- Timestamp:
- Feb 1, 2009 9:19:17 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 42314
- Location:
- trunk/src/VBox/HostDrivers/Support
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrv.c
r16347 r16446 2073 2073 * @param pvR3 Start of the memory range to lock. 2074 2074 * This must be page aligned. 2075 * @param c b Size of the memory rangeto lock.2076 * This must be page aligned.2075 * @param cPages Number of pages to lock. 2076 * @param paPages Where to put the physical addresses of allocated memory. 2077 2077 */ 2078 2078 SUPR0DECL(int) SUPR0LockMem(PSUPDRVSESSION pSession, RTR3PTR pvR3, uint32_t cPages, PRTHCPHYS paPages) … … 2168 2168 * @returns IPRT status code. 2169 2169 * @param pSession Session data. 2170 * @param c b Number of bytes to allocate.2170 * @param cPages Number of pages to allocate. 2171 2171 * @param ppvR0 Where to put the address of Ring-0 mapping the allocated memory. 2172 2172 * @param ppvR3 Where to put the address of Ring-3 mapping the allocated memory. -
trunk/src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp
r13865 r16446 143 143 #ifndef IN_SUP_HARDENED_R3 144 144 145 int 145 int suplibOsTerm(PSUPLIBDATA pThis) 146 146 { 147 147 /* … … 211 211 212 212 213 int 213 int suplibOsPageAlloc(PSUPLIBDATA pThis, size_t cPages, void **ppvPages) 214 214 { 215 215 size_t cbMmap = (pThis->fSysMadviseWorks ? cPages : cPages + 2) << PAGE_SHIFT; … … 246 246 247 247 248 int 248 int suplibOsPageFree(PSUPLIBDATA pThis, void *pvPages, size_t cPages) 249 249 { 250 250 munmap(pvPages, cPages << PAGE_SHIFT);
Note:
See TracChangeset
for help on using the changeset viewer.