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.4 void *xlat_get_code( sh4addr_t address );
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.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.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.29 +struct xlat_recovery_record *xlat_get_pre_recovery( void *code, void *native_pc );
1.33 * Retrieve the entry point for the translated code corresponding to the given