Search
lxdream.org :: lxdream :: r1126:1f2c7cdee73e
lxdream 0.9.1
released Jun 29
Download Now
changeset1126:1f2c7cdee73e
parent1125:9dd5dee45db9
child1127:4b8194e3974c
authornkeynes
dateMon Sep 13 19:01:15 2010 +1000 (9 years ago)
Fix commit range to actually mark the whole block instead of half of it
src/xlat/xltcache.c
1.1 --- a/src/xlat/xltcache.c Mon Sep 13 10:13:42 2010 +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;
.