Changeset 43879 in vbox for trunk/src/VBox/Runtime/r3/posix/rtmempage-exec-mmap-heap-posix.cpp
- Timestamp:
- Nov 15, 2012 2:49:23 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 82091
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/rtmempage-exec-mmap-heap-posix.cpp
r40307 r43879 606 606 * 607 607 * @returns IPRT status code 608 * @param pvUser1 Unused. 609 * @param pvUser2 Unused. 610 */ 611 static DECLCALLBACK(int) rtMemPagePosixInitOnce(void *pvUser1, void *pvUser2) 612 { 613 NOREF(pvUser1); NOREF(pvUser2); 608 * @param pvUser Unused. 609 */ 610 static DECLCALLBACK(int) rtMemPagePosixInitOnce(void *pvUser) 611 { 612 NOREF(pvUser); 614 613 int rc = RTHeapPageInit(&g_MemPagePosixHeap, false /*fExec*/); 615 614 if (RT_SUCCESS(rc)) … … 664 663 else 665 664 { 666 int rc = RTOnce(&g_MemPagePosixInitOnce, rtMemPagePosixInitOnce, NULL , NULL);665 int rc = RTOnce(&g_MemPagePosixInitOnce, rtMemPagePosixInitOnce, NULL); 667 666 if (RT_SUCCESS(rc)) 668 667 rc = RTHeapPageAlloc(pHeap, cb >> PAGE_SHIFT, pszTag, fZero, &pv);
Note:
See TracChangeset
for help on using the changeset viewer.