Changeset 47428 in vbox
- Timestamp:
- Jul 26, 2013 4:19:03 PM (11 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevAPIC.cpp
r45965 r47428 1241 1241 if (pu8PendingIrq) 1242 1242 { 1243 Assert(irrv >= 0 && irrv <= UINT8_MAX);1243 Assert(irrv >= 0 && irrv <= (int)UINT8_MAX); 1244 1244 *pu8PendingIrq = (uint8_t)irrv; 1245 1245 } -
trunk/src/VBox/Main/src-server/solaris/PerformanceSolaris.cpp
r46328 r47428 144 144 if (mZfsSo) 145 145 { 146 mZfsInit = (PFNZFSINIT) dlsym(mZfsSo, "libzfs_init");147 mZfsFini = (PFNZFSFINI) dlsym(mZfsSo, "libzfs_fini");148 mZfsOpen = (PFNZFSOPEN) dlsym(mZfsSo, "zfs_open");149 mZfsClose = (PFNZFSCLOSE) dlsym(mZfsSo, "zfs_close");150 mZfsPropGetInt = (PFNZFSPROPGETINT) dlsym(mZfsSo, "zfs_prop_get_int");151 mZpoolOpen = (PFNZPOOLOPEN) dlsym(mZfsSo, "zpool_open");152 mZpoolClose = (PFNZPOOLCLOSE) dlsym(mZfsSo, "zpool_close");153 mZpoolGetConfig = (PFNZPOOLGETCONFIG) dlsym(mZfsSo, "zpool_get_config");154 mZpoolVdevName = (PFNZPOOLVDEVNAME) dlsym(mZfsSo, "zpool_vdev_name");146 mZfsInit = (PFNZFSINIT)(uintptr_t)dlsym(mZfsSo, "libzfs_init"); 147 mZfsFini = (PFNZFSFINI)(uintptr_t)dlsym(mZfsSo, "libzfs_fini"); 148 mZfsOpen = (PFNZFSOPEN)(uintptr_t)dlsym(mZfsSo, "zfs_open"); 149 mZfsClose = (PFNZFSCLOSE)(uintptr_t)dlsym(mZfsSo, "zfs_close"); 150 mZfsPropGetInt = (PFNZFSPROPGETINT)(uintptr_t)dlsym(mZfsSo, "zfs_prop_get_int"); 151 mZpoolOpen = (PFNZPOOLOPEN)(uintptr_t)dlsym(mZfsSo, "zpool_open"); 152 mZpoolClose = (PFNZPOOLCLOSE)(uintptr_t)dlsym(mZfsSo, "zpool_close"); 153 mZpoolGetConfig = (PFNZPOOLGETCONFIG)(uintptr_t)dlsym(mZfsSo, "zpool_get_config"); 154 mZpoolVdevName = (PFNZPOOLVDEVNAME)(uintptr_t)dlsym(mZfsSo, "zpool_vdev_name"); 155 155 156 156 if ( mZfsInit … … 351 351 uint64_t CollectorSolaris::wrapCorrection(uint32_t cur, uint64_t prev, const char *name) 352 352 { 353 NOREF(name); 353 354 uint64_t corrected = (prev & 0xffffffff00000000) + cur; 354 355 if (cur < (prev & 0xffffffff)) -
trunk/src/VBox/Main/testcase/tstMouseImpl.cpp
r47405 r47428 190 190 &pdmiBase, 191 191 NULL, /* pDownBase */ 192 NULL, /* IBase */ 192 { /* IBase */ 193 NULL /* pfnQueryInterface */ 194 }, 193 195 0, /* fTracing */ 194 196 0, /* idTracing */ 195 197 #if HC_ARCH_BITS == 32 196 { 197 0 /* au32Padding */ 198 }, 198 { 0 }, /* au32Padding */ 199 199 #endif 200 200 { 201 0 /* Padding */201 { 0 } /* padding */ 202 202 }, /* Internal */ 203 { 204 0 /* achInstanceData */ 205 } 203 { 0 } /* achInstanceData */ 206 204 }; 207 205 -
trunk/src/VBox/Runtime/r0drv/solaris/alloc-r0drv-solaris.c
r44528 r47428 74 74 if (fFlags & RTMEMHDR_FLAG_EXEC) 75 75 { 76 AssertReturn(!(fFlags & RTMEMHDR_FLAG_ANY_CTX), NULL);76 AssertReturn(!(fFlags & RTMEMHDR_FLAG_ANY_CTX), VERR_NOT_SUPPORTED); 77 77 cbAllocated = RT_ALIGN_Z(cb + sizeof(*pHdr), PAGE_SIZE) - sizeof(*pHdr); 78 78 pHdr = (PRTMEMHDR)segkmem_alloc(heaptext_arena, cbAllocated + sizeof(*pHdr), KM_SLEEP);
Note:
See TracChangeset
for help on using the changeset viewer.