--- a/src/sh4/xltcache.h Tue Sep 04 08:32:44 2007 +0000 +++ b/src/sh4/xltcache.h Sun Sep 16 07:03:23 2007 +0000 @@ -1,5 +1,5 @@ /** - * $Id: xltcache.h,v 1.2 2007-09-04 08:32:44 nkeynes Exp $ + * $Id: xltcache.h,v 1.3 2007-09-12 09:16:47 nkeynes Exp $ * * Translation cache support (architecture independent) * @@ -48,6 +48,15 @@ void xlat_commit_block( uint32_t destsize, uint32_t srcsize ); /** + * Dump the disassembly of the specified code block to a stream + * (primarily for debugging purposes) + * @param out The stream to write the output to + * @param code a translated block + */ +void xlat_disasm_block( FILE *out, void *code ); + + +/** * Delete (deactivate) the specified block from the cache. Caller is responsible * for ensuring that there really is a block there. */