1.1 --- a/src/xlat/xltcache.h Mon Dec 12 21:15:44 2011 +1000
1.2 +++ b/src/xlat/xltcache.h Sat Mar 03 15:52:59 2012 +1000
1.4 unsigned char code[0];
1.5 } __attribute__((packed));
1.7 +typedef struct xlat_target_fns {
1.8 + void (*unlink_block)(void *use_list);
1.9 +} *xlat_target_fns_t;
1.11 typedef struct xlat_cache_block *xlat_cache_block_t;
1.13 #define XLAT_BLOCK_FOR_CODE(code) (((xlat_cache_block_t)code)-1)
1.15 void xlat_cache_init(void);
1.18 + * Setup target support.
1.20 +void xlat_set_target_fns( xlat_target_fns_t target_fns );
1.23 * Returns the next block in the new cache list that can be written to by the