Search
lxdream.org :: lxdream/src/sh4/xltcache.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/xltcache.h
changeset 580:508dc852a8eb
prev571:9bc09948d0f2
author nkeynes
date Tue Jan 15 02:20:30 2008 +0000 (14 years ago)
branchlxdream-mmu
permissions -rw-r--r--
last change Fix x86-64 support for mmu changes
file annotate diff log raw
1.1 --- a/src/sh4/xltcache.h Thu Jan 10 08:28:37 2008 +0000
1.2 +++ b/src/sh4/xltcache.h Tue Jan 15 02:20:30 2008 +0000
1.3 @@ -37,14 +37,16 @@
1.4 // (0 = first instruction, 1 = second instruction, ... )
1.5 } *xlat_recovery_record_t;
1.6
1.7 -typedef struct xlat_cache_block {
1.8 +struct xlat_cache_block {
1.9 int active; /* 0 = deleted, 1 = normal. 2 = accessed (temp-space only) */
1.10 uint32_t size;
1.11 void **lut_entry; /* For deletion */
1.12 xlat_recovery_record_t recover_table;
1.13 uint32_t recover_table_size;
1.14 unsigned char code[0];
1.15 -} *xlat_cache_block_t;
1.16 +} __attribute__((packed));
1.17 +
1.18 +typedef struct xlat_cache_block *xlat_cache_block_t;
1.19
1.20 /**
1.21 * Initialize the translation cache
.