Search
lxdream.org :: lxdream/src/sh4/xltcache.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/xltcache.h
changeset 400:049d72a7a229
prev376:8c7587af5a5d
next407:d24ab36150c4
author nkeynes
date Thu Sep 20 08:35:04 2007 +0000 (13 years ago)
permissions -rw-r--r--
last change Add translation cache invalidation
file annotate diff log raw
1.1 --- a/src/sh4/xltcache.h Wed Sep 12 09:16:47 2007 +0000
1.2 +++ b/src/sh4/xltcache.h Thu Sep 20 08:35:04 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: xltcache.h,v 1.3 2007-09-12 09:16:47 nkeynes Exp $
1.6 + * $Id: xltcache.h,v 1.4 2007-09-20 08:35:04 nkeynes Exp $
1.7 *
1.8 * Translation cache support (architecture independent)
1.9 *
1.10 @@ -79,6 +79,15 @@
1.11 */
1.12 void xlat_flush_page( sh4addr_t address );
1.13
1.14 +void xlat_invalidate_word( sh4addr_t address );
1.15 +void xlat_invalidate_long( sh4addr_t address );
1.16 +
1.17 +
1.18 +/**
1.19 + * Invalidate the code cache for a memory region
1.20 + */
1.21 +void xlat_invalidate_block( sh4addr_t address, size_t bytes );
1.22 +
1.23 /**
1.24 * Flush the entire code cache. This isn't as cheap as one might like
1.25 */
.