Changeset 7169 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Feb 27, 2008 1:16:24 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 28464
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/Makefile.kmk
r7056 r7169 1248 1248 common/table \ 1249 1249 common/time \ 1250 VBox/ \ 1250 1251 $(foreach dir, . r3 r0drv,\ 1251 1252 $(dir) \ … … 1283 1284 1284 1285 # Generate the Doxyfile 1285 $(PATH_TARGET)/Doxyfile: Doxyfile \1286 $(PATH_TARGET)/Doxyfile: Doxyfile Makefile.kmk \ 1286 1287 $(comp-vars DOXYGEN_INPUT,DOXYGEN_INPUT_PREV,FORCE) \ 1287 1288 $(comp-vars DOXYGEN_OUTPUT,DOXYGEN_OUTPUT_PREV,FORCE) \ … … 1294 1295 $(APPEND) [email protected] "INCLUDE_PATH = $(PATH_ROOT)/include include . common/table" 1295 1296 $(APPEND) [email protected] "INCLUDE_FILE_PATTERNS = *.cpp.h" 1297 $(APPEND) [email protected] "PREDEFINED += $(ARCH_BITS_DEFS)" 1296 1298 $(APPEND) [email protected] 1297 1299 $(APPEND) [email protected] "INPUT = $(DOXYGEN_INPUT)" … … 1318 1320 @echo $(DOXYGEN_OUTPUT) 1319 1321 @echo $(DOXYGEN_OUTPUT_PREV) 1320 1322 @echo $(DOXYGEN_INPUT) 1323 -
trunk/src/VBox/Runtime/VBox/log-vbox.cpp
r7013 r7169 389 389 * This is where you set your ring-0 logging preferences. 390 390 */ 391 # if defined(DEBUG_bird) && !defined(IN_GUEST)391 # if 0//defined(DEBUG_bird) && !defined(IN_GUEST) 392 392 RTLogGroupSettings(pLogger, "all=~0 -default.l6.l5.l4.l3"); 393 393 RTLogFlags(pLogger, "enabled unbuffered pid tid"); -
trunk/src/VBox/Runtime/common/alloc/heapsimple.cpp
r5999 r7169 444 444 * @returns Pointer to the allocated block. 445 445 * @returns NULL on failure. 446 * @param pHeap 446 * @param pHeapInt The heap. 447 447 * @param cb Size of the memory block to allocate. 448 448 * @param uAlignment The alignment specifications for the allocated block. -
trunk/src/VBox/Runtime/common/ldr/ldrFile.cpp
r5999 r7169 121 121 122 122 123 /** @copydoc RTLDRREADER::pfn FileMap */123 /** @copydoc RTLDRREADER::pfnMap */ 124 124 static DECLCALLBACK(int) rtldrFileMap(PRTLDRREADER pReader, const void **ppvBits) 125 125 { … … 271 271 /** 272 272 * Opens a binary image file using kLdr. 273 * 273 * 274 274 * @returns iprt status code. 275 275 * @param pszFilename Image filename. … … 304 304 #else 305 305 return RTLdrOpen(pszFilename, phLdrMod); 306 #endif 307 } 308 306 #endif 307 } 308 -
trunk/src/VBox/Runtime/common/misc/rand.cpp
r5999 r7169 55 55 /** 56 56 * Lazy initialization of the native and fallback random byte sources. 57 * 57 * 58 58 */ 59 59 static void rtRandLazyInit(void) … … 105 105 /** 106 106 * Generate a 32-bit signed random number in the set [i32First..i32Last]. 107 * 107 * 108 108 * @returns The random number. 109 109 * @param i32First First number in the set. … … 136 136 /** 137 137 * Generate a 32-bit signed random number. 138 * 138 * 139 139 * @returns The random number. 140 140 */ … … 147 147 /** 148 148 * Generate a 32-bit unsigned random number in the set [u32First..u32Last]. 149 * 149 * 150 150 * @returns The random number. 151 151 * @param u32First First number in the set. … … 178 178 /** 179 179 * Generate a 32-bit unsigned random number. 180 * 180 * 181 181 * @returns The random number. 182 182 */ … … 188 188 189 189 /** 190 * Generate a 32-bit signed random number in the set [i32First..i32Last].191 * 192 * @returns The random number. 193 * @param i 32First First number in the set.194 * @param i 32Last Last number in the set.190 * Generate a 64-bit signed random number in the set [i64First..i64Last]. 191 * 192 * @returns The random number. 193 * @param i64First First number in the set. 194 * @param i64Last Last number in the set. 195 195 */ 196 196 RTDECL(int64_t) RTRandS64Ex(int64_t i64First, int64_t i64Last) … … 219 219 /** 220 220 * Generate a 64-bit signed random number. 221 * 221 * 222 222 * @returns The random number. 223 223 */ … … 230 230 /** 231 231 * Generate a 64-bit unsigned random number in the set [u64First..u64Last]. 232 * 232 * 233 233 * @returns The random number. 234 234 * @param u64First First number in the set. … … 260 260 /** 261 261 * Generate a 64-bit unsigned random number. 262 * 262 * 263 263 * @returns The random number. 264 264 */ … … 345 345 /** 346 346 * Generates an unsigned 31 bit pseudo random number. 347 * 347 * 348 348 * @returns pseudo random number. 349 349 * @param pCtx The context. … … 356 356 * (2^31 - 1) = 127773 * (7^5) + 2836 357 357 * 358 * From "Random number generators: good ones are hard to find", Park and 358 * From "Random number generators: good ones are hard to find", Park and 359 359 * Miller, Communications of the ACM, vol. 31, no. 10, October 1988, p. 1195. 360 360 */ -
trunk/src/VBox/Runtime/common/misc/req.cpp
r5999 r7169 52 52 * 53 53 * @returns iprt status code. 54 * @param p ReqQueue The request queue.54 * @param ppQueue Where to store the request queue pointer. 55 55 */ 56 56 RTDECL(int) RTReqCreateQueue(PRTREQQUEUE *ppQueue) … … 72 72 * 73 73 * @returns iprt status code. 74 * @param p ReqQueueThe request queue.74 * @param pQueue The request queue. 75 75 */ 76 76 RTDECL(int) RTReqDestroyQueue(PRTREQQUEUE pQueue) … … 95 95 * @returns VERR_TIMEOUT if cMillies was reached without the packet being added. 96 96 * 97 * @param p ReqQueueThe request queue.97 * @param pQueue The request queue. 98 98 * @param cMillies Number of milliseconds to wait for a pending request. 99 99 * Use RT_INDEFINITE_WAIT to only wait till one is added. … … 185 185 * @returns VERR_TIMEOUT if cMillies was reached without the packet being completed. 186 186 * 187 * @param p ReqQueueThe request queue.187 * @param pQueue The request queue. 188 188 * @param ppReq Where to store the pointer to the request. 189 189 * This will be NULL or a valid request pointer not matter what happens. … … 218 218 * @returns VERR_TIMEOUT if cMillies was reached without the packet being completed. 219 219 * 220 * @param p ReqQueueThe request queue.220 * @param pQueue The request queue. 221 221 * @param ppReq Where to store the pointer to the request. 222 222 * This will be NULL or a valid request pointer not matter what happends. … … 251 251 * @returns VERR_TIMEOUT if cMillies was reached without the packet being completed. 252 252 * 253 * @param p ReqQueueThe request queue.253 * @param pQueue The request queue. 254 254 * @param ppReq Where to store the pointer to the request. 255 255 * This will be NULL or a valid request pointer not matter what happends, unless fFlags … … 286 286 * @returns VERR_TIMEOUT if cMillies was reached without the packet being completed. 287 287 * 288 * @param p ReqQueueThe request queue.288 * @param pQueue The request queue. 289 289 * @param ppReq Where to store the pointer to the request. 290 290 * This will be NULL or a valid request pointer not matter what happends, unless fFlags … … 297 297 * @param cArgs Number of arguments following in the ellipsis. 298 298 * Not possible to pass 64-bit arguments! 299 * @param pvArgs Pointer to function arguments.299 * @param Args Variable argument vector. 300 300 */ 301 301 RTDECL(int) RTReqCallV(PRTREQQUEUE pQueue, PRTREQ *ppReq, unsigned cMillies, unsigned fFlags, PFNRT pfnFunction, unsigned cArgs, va_list Args) … … 422 422 * @returns iprt status code. 423 423 * 424 * @param p ReqQueueThe request queue.424 * @param pQueue The request queue. 425 425 * @param ppReq Where to store the pointer to the allocated packet. 426 426 * @param enmType Package type. -
trunk/src/VBox/Runtime/common/string/strtonum.cpp
r5999 r7169 897 897 * @param uBase The base of the representation used. 898 898 * If the function will look for known prefixes before defaulting to 10. 899 * @param pi 64Where to store the converted number. (optional)899 * @param pi8 Where to store the converted number. (optional) 900 900 */ 901 901 RTDECL(int) RTStrToInt8Full(const char *pszValue, unsigned uBase, int8_t *pi8) -
trunk/src/VBox/Runtime/include/internal/memobj.h
r5999 r7169 210 210 * 211 211 * @returns true if it's a mapping, otherwise false. 212 * @param MemObjThe ring-0 memory object handle.212 * @param pMem The ring-0 memory object handle. 213 213 * @see RTR0MemObjIsMapping 214 214 */ … … 230 230 * 231 231 * @returns true if it's a object with a ring-3 address, otherwise false. 232 * @param MemObjThe ring-0 memory object handle.232 * @param pMem The ring-0 memory object handle. 233 233 */ 234 234 DECLINLINE(bool) rtR0MemObjIsRing3(PRTR0MEMOBJINTERNAL pMem) -
trunk/src/VBox/Runtime/include/internal/thread.h
r6961 r7169 196 196 * 197 197 * @returns iprt status code. 198 * @param ThreadThe thread in question.198 * @param pThread The thread in question. 199 199 * @param enmType The thread type. 200 200 * @remark Located in sched. -
trunk/src/VBox/Runtime/r0drv/nt/memobj-r0drv-nt.cpp
r5999 r7169 500 500 * @param pv First page. 501 501 * @param cb Number of bytes. 502 * @param Task The task\a pv and \a cb refers to.502 * @param R0Process The process \a pv and \a cb refers to. 503 503 */ 504 504 static int rtR0MemObjNtLock(PPRTR0MEMOBJINTERNAL ppMem, void *pv, size_t cb, RTR0PROCESS R0Process) -
trunk/src/VBox/Runtime/r3/fs.cpp
r5999 r7169 93 93 * Converts Unix attributes to Dos-style attributes. 94 94 * 95 * @returns 95 * @returns File mode mask. 96 96 * @param fMode The mode mask containing dos-style attibutes only. 97 * @param pszName The filename which this applies to (hidden check). 98 * @param cbName The length of that filename. (optional, set 0) 97 99 */ 98 100 RTFMODE rtFsModeFromUnix(RTFMODE fMode, const char *pszName, unsigned cbName) … … 180 182 * @param pObjInfo The file system object info structure to setup. 181 183 * @param pStat The stat structure to use. 184 * @param pszName The filename which this applies to (exe/hidden check). 185 * @param cbName The length of that filename. (optional, set 0) 182 186 */ 183 187 void rtFsConvertStatToObjInfo(PRTFSOBJINFO pObjInfo, const struct stat *pStat, const char *pszName, unsigned cbName) -
trunk/src/VBox/Runtime/r3/path.cpp
r6553 r7169 354 354 * @param pszPath2 Path to compare (must be an absolute path). 355 355 * 356 * @returns < 0 if the first path less than the second path.356 * @returns @< 0 if the first path less than the second path. 357 357 * @returns 0 if the first path identical to the second path. 358 * @returns > 0 if the first path greater than the second path.358 * @returns @> 0 if the first path greater than the second path. 359 359 */ 360 360 RTDECL(int) RTPathCompare(const char *pszPath1, const char *pszPath2) … … 560 560 * example NLS files, module sources, ... 561 561 * 562 * Linux: /usr/shared/ <application>563 * Windows: <program files directory>/<application>562 * Linux: /usr/shared/@<application@> 563 * Windows: @<program files directory@>/@<application@> 564 564 * Old path: same as RTPathProgram() 565 565 * … … 591 591 * example modules which can be loaded at runtime. 592 592 * 593 * Linux: /usr/lib/ <application>594 * Windows: <program files directory>/<application>593 * Linux: /usr/lib/@<application@> 594 * Windows: @<program files directory@>/@<application@> 595 595 * Old path: same as RTPathProgram() 596 596 * … … 627 627 * 628 628 * Linux: /usr/lib 629 * Windows: <program files directory>/<application>629 * Windows: @<program files directory@>/@<application@> 630 630 * Old path: same as RTPathProgram() 631 631 * … … 659 659 * Gets the directory for documentation. 660 660 * 661 * Linux: /usr/share/doc/ <application>662 * Windows: <program files directory>/<application>661 * Linux: /usr/share/doc/@<application@> 662 * Windows: @<program files directory@>/@<application@> 663 663 * Old path: same as RTPathProgram() 664 664 * -
trunk/src/VBox/Runtime/r3/win/fileio-win.cpp
r6994 r7169 99 99 * @param File Filehandle. 100 100 * @param offSeek Offset to seek. 101 * @param uMethod The seek method. 101 102 */ 102 103 DECLINLINE(bool) IsBeyondLimit(RTFILE File, uint64_t offSeek, unsigned uMethod) -
trunk/src/VBox/Runtime/r3/win/timer-win.cpp
r5999 r7169 277 277 278 278 279 /** 280 * Create a recurring timer. 281 * 282 * @returns iprt status code. 283 * @param ppTimer Where to store the timer handle. 284 * @param uMilliesInterval Milliseconds between the timer ticks. 285 * This is rounded up to the system granularity. 286 * @param pfnTimer Callback function which shall be scheduled for execution 287 * on every timer tick. 288 * @param pvUser User argument for the callback. 289 */ 290 RTR3DECL(int) RTTimerCreate(PRTTIMER *ppTimer, unsigned uMilliesInterval, PFNRTTIMER pfnTimer, void *pvUser) 279 RTDECL(int) RTTimerCreate(PRTTIMER *ppTimer, unsigned uMilliesInterval, PFNRTTIMER pfnTimer, void *pvUser) 291 280 { 292 281 #ifndef USE_WINMM … … 403 392 404 393 405 406 /**407 * Stops and destroys a running timer.408 *409 * @returns iprt status code.410 * @param pTimer Timer to stop and destroy.411 */412 394 RTR3DECL(int) RTTimerDestroy(PRTTIMER pTimer) 413 395 {
Note:
See TracChangeset
for help on using the changeset viewer.