Search
lxdream.org :: lxdream/src/sh4/xltcache.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/xltcache.h
changeset 569:a1c49e1e8776
prev561:533f6b478071
next571:9bc09948d0f2
author nkeynes
date Fri Jan 04 11:54:17 2008 +0000 (13 years ago)
branchlxdream-mmu
permissions -rw-r--r--
last change Bring icache partially into line with the mmu, a little less slow with AT off
now.
file annotate diff log raw
1.1 --- a/src/sh4/xltcache.h Tue Jan 01 05:08:38 2008 +0000
1.2 +++ b/src/sh4/xltcache.h Fri Jan 04 11:54:17 2008 +0000
1.3 @@ -74,6 +74,14 @@
1.4 void *xlat_get_code( sh4addr_t address );
1.5
1.6 /**
1.7 + * Retrieve the entry point for the translated code corresponding to the given
1.8 + * SH4 virtual address, or NULL if there is no code for the address.
1.9 + * If the virtual address cannot be resolved, this method will raise a TLB miss
1.10 + * exception, and return NULL.
1.11 + */
1.12 +void *xlat_get_code_by_vma( sh4vma_t address );
1.13 +
1.14 +/**
1.15 * Retrieve the address of the lookup table entry corresponding to the
1.16 * given SH4 address.
1.17 */
.