Search
lxdream.org :: lxdream/src/sh4/xltcache.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/xltcache.h
changeset 906:268ea359f884
prev905:4c17ebd9ef5e
next936:f394309c399a
next953:f4a156508ad1
author nkeynes
date Thu Oct 30 00:06:49 2008 +0000 (15 years ago)
permissions -rw-r--r--
last change Change xlat_get_native_pc to pass in the expected code region - this lets the Mac
unwind implementation range test the IP address (which works) rather than EBP
(which doesn't for some reason).

Remove the test in configure that prevents fomit-frame-pointer being used in Mac
builds.
file annotate diff log raw
1.1 --- a/src/sh4/xltcache.h Wed Oct 29 23:51:58 2008 +0000
1.2 +++ b/src/sh4/xltcache.h Thu Oct 30 00:06:49 2008 +0000
1.3 @@ -142,9 +142,11 @@
1.4 * Retrieve the current host address of the running translated code block.
1.5 * @return the host PC, or null if there is no currently executing translated
1.6 * block (or the stack is corrupted)
1.7 - * Note: this method is implemented in host-specific asm.
1.8 + * Note: the implementation of this method is host (and calling-convention) specific.
1.9 + * @param block_start start of the block the PC should be in
1.10 + * @param block_size size of the code block in bytes.
1.11 */
1.12 -void *xlat_get_native_pc();
1.13 +void *xlat_get_native_pc( void *block_start, uint32_t block_size );
1.14
1.15 /**
1.16 * Retrieve the size of the block starting at the specified pointer. If the
.