Search
lxdream.org :: lxdream/src/sh4/xltcache.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/xltcache.h
changeset 809:8bdbf4d95da4
prev736:a02d1475ccfd
next901:32c5cf5e206f
author nkeynes
date Sat Aug 09 10:48:03 2008 +0000 (13 years ago)
permissions -rw-r--r--
last change Fix core-exit-on-flush in a delay branch slot. Bit of a hack really
file annotate diff log raw
1.1 --- a/src/sh4/xltcache.h Mon Jul 14 07:44:42 2008 +0000
1.2 +++ b/src/sh4/xltcache.h Sat Aug 09 10:48:03 2008 +0000
1.3 @@ -96,15 +96,27 @@
1.4 void *xlat_get_code( sh4addr_t address );
1.5
1.6 /**
1.7 - * Retrieve the recovery record corresponding to the given
1.8 + * Retrieve the post-instruction recovery record corresponding to the given
1.9 * native address, or NULL if there is no recovery code for the address.
1.10 * @param code The code block containing the recovery table.
1.11 * @param native_pc A pointer that must be within the currently executing
1.12 - * @param recover_after If TRUE, return the first record after the given pc, otherwise
1.13 + * @param with_terminal If false, return NULL instead of the final block record.
1.14 * return the first record before or equal to the given pc.
1.15 * translation block.
1.16 */
1.17 -struct xlat_recovery_record *xlat_get_recovery( void *code, void *native_pc, gboolean recover_after );
1.18 +struct xlat_recovery_record *xlat_get_post_recovery( void *code, void *native_pc, gboolean with_terminal );
1.19 +
1.20 +/**
1.21 + * Retrieve the pre-instruction recovery record corresponding to the given
1.22 + * native address, or NULL if there is no recovery code for the address.
1.23 + * @param code The code block containing the recovery table.
1.24 + * @param native_pc A pointer that must be within the currently executing
1.25 + * @param with_terminal If false, return NULL instead of the final block record.
1.26 + * return the first record before or equal to the given pc.
1.27 + * translation block.
1.28 + */
1.29 +struct xlat_recovery_record *xlat_get_pre_recovery( void *code, void *native_pc );
1.30 +
1.31
1.32 /**
1.33 * Retrieve the entry point for the translated code corresponding to the given
.