- fix bug in the routine which determines the free page frames on the SCC
(wrong break condition) git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@371 315a16e6-25f9-4109-90ae-ca3045a26c18
This commit is contained in:
parent
810b13f37e
commit
d931830aa1
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ int mmu_init(void)
|
|||
|
||||
while(addr < end_addr) {
|
||||
page_clear_mark(addr / PAGE_SIZE);
|
||||
if (addr < addr + PAGE_SIZE)
|
||||
if (addr > addr + PAGE_SIZE)
|
||||
break;
|
||||
addr += PAGE_SIZE;
|
||||
atomic_int32_inc(&total_pages);
|
||||
|
|
Loading…
Add table
Reference in a new issue