Search
lxdream.org :: lxdream/src/sh4/xltcache.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/xltcache.h
changeset 376:8c7587af5a5d
prev366:6fb0d05152d7
next400:049d72a7a229
author nkeynes
date Wed Sep 12 09:16:47 2007 +0000 (13 years ago)
permissions -rw-r--r--
last change Add disassembly dump function to xltcache
file annotate diff log raw
1.1 --- a/src/sh4/xltcache.h Tue Sep 04 08:32:44 2007 +0000
1.2 +++ b/src/sh4/xltcache.h Wed Sep 12 09:16:47 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: xltcache.h,v 1.2 2007-09-04 08:32:44 nkeynes Exp $
1.6 + * $Id: xltcache.h,v 1.3 2007-09-12 09:16:47 nkeynes Exp $
1.7 *
1.8 * Translation cache support (architecture independent)
1.9 *
1.10 @@ -48,6 +48,15 @@
1.11 void xlat_commit_block( uint32_t destsize, uint32_t srcsize );
1.12
1.13 /**
1.14 + * Dump the disassembly of the specified code block to a stream
1.15 + * (primarily for debugging purposes)
1.16 + * @param out The stream to write the output to
1.17 + * @param code a translated block
1.18 + */
1.19 +void xlat_disasm_block( FILE *out, void *code );
1.20 +
1.21 +
1.22 +/**
1.23 * Delete (deactivate) the specified block from the cache. Caller is responsible
1.24 * for ensuring that there really is a block there.
1.25 */
.