Changeset 11020 in vbox for trunk/src/VBox/Runtime/r3/solaris
- Timestamp:
- Jul 30, 2008 10:48:35 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 33900
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/solaris/alloc-solaris.cpp
r8245 r11020 54 54 * @param cb Size in bytes of the memory block to allocate. 55 55 */ 56 RTDECL(void *) RTMemExecAlloc(size_t cb) 56 RTDECL(void *) RTMemExecAlloc(size_t cb) RT_NO_THROW 57 57 { 58 58 /* … … 92 92 * @param pv Pointer to memory block. 93 93 */ 94 RTDECL(void) RTMemExecFree(void *pv) 94 RTDECL(void) RTMemExecFree(void *pv) RT_NO_THROW 95 95 { 96 96 if (pv) … … 106 106 * @param cb Size of the memory block. Will be rounded up to page size. 107 107 */ 108 RTDECL(void *) RTMemPageAlloc(size_t cb) 108 RTDECL(void *) RTMemPageAlloc(size_t cb) RT_NO_THROW 109 109 { 110 110 return valloc(RT_ALIGN_Z(cb, PAGE_SIZE)); … … 119 119 * @param cb Size of the memory block. Will be rounded up to page size. 120 120 */ 121 RTDECL(void *) RTMemPageAllocZ(size_t cb) 121 RTDECL(void *) RTMemPageAllocZ(size_t cb) RT_NO_THROW 122 122 { 123 123 cb = RT_ALIGN_Z(cb, PAGE_SIZE); … … 135 135 * NULL will be ignored. 136 136 */ 137 RTDECL(void) RTMemPageFree(void *pv) 137 RTDECL(void) RTMemPageFree(void *pv) RT_NO_THROW 138 138 { 139 139 if (pv) … … 150 150 * @param fProtect The new protection, a combination of the RTMEM_PROT_* defines. 151 151 */ 152 RTDECL(int) RTMemProtect(void *pv, size_t cb, unsigned fProtect) 152 RTDECL(int) RTMemProtect(void *pv, size_t cb, unsigned fProtect) RT_NO_THROW 153 153 { 154 154 /*
Note:
See TracChangeset
for help on using the changeset viewer.