Changeset 2849 for trunk/kLdr/kLdrMod.c
- Timestamp:
- Nov 2, 2006, 3:05:16 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kLdr/kLdrMod.c
r2848 r2849 308 308 309 309 /** 310 * Get the size of the mapped module. 311 * 312 * @returns The size of the mapped module (in bytes). 313 * @param pMod The module. 314 */ 315 size_t kLdrModSize(PKLDRMOD pMod) 310 * Enumerate the debug info formats contained in the executable image. 311 * 312 * @returns 0 on success, non-zero OS or kLdr status code on failure, or non-zero callback status. 313 * @param pMod The module. 314 * @param pvBits Optional pointer to bits returned by kLdrModGetBits(). 315 * This can be used by some module interpreters to reduce memory consumption. 316 * @param pfnCallback The callback function. 317 * @param pvUser The user argument. 318 * @see pg_kDbg for the debug info reader. 319 */ 320 int kLdrModEnumDbgInfo(PKLDRMOD pMod, void *pvBits, PFNKLDRENUMDBG pfnCallback, void *pvUser) 316 321 { 317 322 return 0; 323 } 324 325 326 /** 327 * Checks if the module has debug info embedded or otherwise associated with it. 328 * 329 * @returns 0 if it has debug info, KLDR_ERR_NO_DEBUG_INFO if no debug info, 330 * and non-zero OS or kLdr status code on failure. 331 * @param pMod The module. 332 * @param pvBits Optional pointer to bits returned by kLdrModGetBits(). 333 * This can be used by some module interpreters to reduce memory consumption. 334 */ 335 int kLdrModHasDbgInfo(PKLDRMOD pMod, void *pvBits) 336 { 337 return -1; 318 338 } 319 339 … … 445 465 */ 446 466 int kLdrModCallThread(PKLDRMOD pMod, unsigned fAttachingOrDetaching) 467 { 468 return 0; 469 } 470 471 472 /** 473 * Get the size of the mapped module. 474 * 475 * @returns The size of the mapped module (in bytes). 476 * @param pMod The module. 477 */ 478 size_t kLdrModSize(PKLDRMOD pMod) 447 479 { 448 480 return 0; … … 488 520 } 489 521 490 491
Note:
See TracChangeset
for help on using the changeset viewer.