Search
lxdream.org :: lxdream/src/test/testxlt.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/test/testxlt.c
changeset 922:8a8361264b1e
prev561:533f6b478071
next991:60c7fab9c880
author nkeynes
date Wed Jan 07 05:45:15 2009 +0000 (15 years ago)
branchlxdream-mem
permissions -rw-r--r--
last change Tidy up exceptions+resets
Implement manual reset on general exception when SR.BL == 1
file annotate diff log raw
1.1 --- a/src/test/testxlt.c Tue Jan 01 05:08:38 2008 +0000
1.2 +++ b/src/test/testxlt.c Wed Jan 07 05:45:15 2009 +0000
1.3 @@ -22,8 +22,6 @@
1.4
1.5 extern xlat_cache_block_t xlat_new_cache;
1.6 extern xlat_cache_block_t xlat_new_cache_ptr;
1.7 -extern xlat_cache_block_t xlat_temp_cache;
1.8 -extern xlat_cache_block_t xlat_temp_cache_ptr;
1.9
1.10 /**
1.11 * Test initial allocations from the new cache
1.12 @@ -75,14 +73,6 @@
1.13 xlat_commit_block(6142, 432);
1.14 addr = xlat_get_code( 0x0D009800 );
1.15 assert( addr == &block3a->code );
1.16 - /* check promoted block in temp cache */
1.17 - addr = xlat_get_code( 0x0C008000 );
1.18 - assert( addr == &xlat_temp_cache->code );
1.19 - assert( xlat_temp_cache->active == 1 );
1.20 - assert( xlat_temp_cache->size == 8192 );
1.21 - for( i=0; i<8192; i++ ) {
1.22 - assert( xlat_temp_cache->code[i] == 0xB5 );
1.23 - }
1.24 }
1.25
1.26 int main()
.