- 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:
stefan 2011-01-07 05:45:01 +00:00
parent 810b13f37e
commit d931830aa1

View file

@ -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);