Search
lxdream.org :: lxdream/src/sh4/xltcache.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/xltcache.h
changeset 407:d24ab36150c4
prev400:049d72a7a229
next410:5f8413358e7f
author nkeynes
date Fri Sep 28 07:26:35 2007 +0000 (15 years ago)
permissions -rw-r--r--
last change Add xlat_get_lut_entry method
Force blocks to be 32-bit aligned (slight optimization)
file annotate diff log raw
1.1 --- a/src/sh4/xltcache.h Thu Sep 20 08:35:04 2007 +0000
1.2 +++ b/src/sh4/xltcache.h Fri Sep 28 07:26:35 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: xltcache.h,v 1.4 2007-09-20 08:35:04 nkeynes Exp $
1.6 + * $Id: xltcache.h,v 1.5 2007-09-28 07:26:35 nkeynes Exp $
1.7 *
1.8 * Translation cache support (architecture independent)
1.9 *
1.10 @@ -69,6 +69,12 @@
1.11 void *xlat_get_code( sh4addr_t address );
1.12
1.13 /**
1.14 + * Retrieve the address of the lookup table entry corresponding to the
1.15 + * given SH4 address.
1.16 + */
1.17 +void **xlat_get_lut_entry( sh4addr_t address );
1.18 +
1.19 +/**
1.20 * Retrieve the size of the code block starting at the specified pointer. If the
1.21 * pointer is not a valid code block, the return value is undefined.
1.22 */
.