Search
lxdream.org :: lxdream/src/xlat/xltcache.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/xlat/xltcache.c
changeset 1126:1f2c7cdee73e
prev1091:186558374345
next1149:da6124fceec6
author nkeynes
date Mon Sep 13 19:01:15 2010 +1000 (11 years ago)
permissions -rw-r--r--
last change Fix commit range to actually mark the whole block instead of half of it
file annotate diff log raw
1.1 --- a/src/xlat/xltcache.c Tue Dec 15 08:46:37 2009 +1000
1.2 +++ b/src/xlat/xltcache.c Mon Sep 13 19:01:15 2010 +1000
1.3 @@ -449,7 +449,7 @@
1.4 void xlat_commit_block( uint32_t destsize, uint32_t srcsize )
1.5 {
1.6 void **ptr = xlat_new_create_ptr->lut_entry;
1.7 - void **endptr = ptr + (srcsize>>2);
1.8 + void **endptr = ptr + (srcsize>>1);
1.9 while( ptr < endptr ) {
1.10 if( *ptr == NULL ) {
1.11 *ptr = XLAT_LUT_ENTRY_USED;
.