Changeset 61680 in vbox for trunk/include
- Timestamp:
- Jun 13, 2016 3:02:28 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 108037
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/dbgf.h
r61671 r61680 2314 2314 float f32; 2315 2315 double f64; 2316 uint64_t size; /* For the built-in size_t which can be either 32-bit or 64-bit. */ 2316 2317 RTGCPTR GCPtr; 2317 2318 /** For embedded structs. */ … … 2328 2329 /** DBGF built-in type. */ 2329 2330 DBGFTYPEBUILTIN enmType; 2331 /** Size of the type. */ 2332 size_t cbType; 2330 2333 /** Number of entries, for arrays this can be > 1. */ 2331 2334 uint32_t cEntries; … … 2426 2429 } DBGFTYPEREG; 2427 2430 2431 /** 2432 * DBGF typed value dumper callback. 2433 * 2434 * @returns VBox status code. Any non VINF_SUCCESS status code will abort the dumping. 2435 * 2436 * @param off The byte offset of the entry from the start of the type. 2437 * @param pszField The name of the field for the value. 2438 * @param iLvl The current level. 2439 * @param enmType The type enum. 2440 * @param cbType Size of the type. 2441 * @param pValBuf Pointer to the value buffer. 2442 * @param cValBufs Number of value buffers (for arrays). 2443 * @param pvUser Opaque user data. 2444 */ 2445 typedef DECLCALLBACK(int) FNDBGFR3TYPEVALDUMP(uint32_t off, const char *pszField, uint32_t iLvl, 2446 DBGFTYPEBUILTIN enmType, size_t cbType, 2447 PDBGFTYPEVALBUF pValBuf, uint32_t cValBufs, 2448 void *pvUser); 2449 /** Pointer to a FNDBGFR3TYPEVALDUMP. */ 2450 typedef FNDBGFR3TYPEVALDUMP *PFNDBGFR3TYPEVALDUMP; 2451 2452 /** 2453 * DBGF type information dumper callback. 2454 * 2455 * @returns VBox status code. Any non VINF_SUCCESS status code will abort the dumping. 2456 * 2457 * @param off The byte offset of the entry from the start of the type. 2458 * @param pszField The name of the field for the value. 2459 * @param iLvl The current level. 2460 * @param pszType The type of the field. 2461 * @param fTypeFlags Flags for this type, see DBGFTYPEREGMEMBER_F_XXX. 2462 * @param cElements Number of for the field ( > 0 for arrays). 2463 * @param pvUser Opaque user data. 2464 */ 2465 typedef DECLCALLBACK(int) FNDBGFR3TYPEDUMP(uint32_t off, const char *pszField, uint32_t iLvl, 2466 const char *pszType, uint32_t fTypeFlags, 2467 uint32_t cElements, void *pvUser); 2468 /** Pointer to a FNDBGFR3TYPEDUMP. */ 2469 typedef FNDBGFR3TYPEDUMP *PFNDBGFR3TYPEDUMP; 2470 2428 2471 VMMR3DECL(int) DBGFR3TypeRegister( PUVM pUVM, uint32_t cTypes, PCDBGFTYPEREG paTypes); 2429 2472 VMMR3DECL(int) DBGFR3TypeDeregister(PUVM pUVM, const char *pszType); … … 2432 2475 VMMR3DECL(int) DBGFR3TypeQuerySize( PUVM pUVM, const char *pszType, size_t *pcbType); 2433 2476 VMMR3DECL(int) DBGFR3TypeSetSize( PUVM pUVM, const char *pszType, size_t cbType); 2477 VMMR3DECL(int) DBGFR3TypeDumpEx( PUVM pUVM, const char *pszType, uint32_t fFlags, 2478 uint32_t cLvlMax, PFNDBGFR3TYPEDUMP pfnDump, void *pvUser); 2434 2479 VMMR3DECL(int) DBGFR3TypeQueryValByType(PUVM pUVM, PCDBGFADDRESS pAddress, const char *pszType, 2435 2480 PDBGFTYPEVAL *ppVal); 2436 2481 VMMR3DECL(void) DBGFR3TypeValFree(PDBGFTYPEVAL pVal); 2482 VMMR3DECL(int) DBGFR3TypeValDumpEx(PUVM pUVM, PCDBGFADDRESS pAddress, const char *pszType, uint32_t fFlags, 2483 uint32_t cLvlMax, FNDBGFR3TYPEVALDUMP pfnDump, void *pvUser); 2437 2484 2438 2485 /** @} */
Note:
See TracChangeset
for help on using the changeset viewer.