mem: Correct physical mem for code bank

This commit is contained in:
Mathieu Maret 2022-07-29 00:32:34 +02:00
parent e754feab32
commit ed55f1cc23

View File

@ -36,7 +36,7 @@ int memSetup(paddr_t upperMemKB, paddr_t *firstUsed, paddr_t *lastMemUsedOut)
// Remove addr from 0 to PAGE_SIZE so we can return 0 for no page available
memAddBank(0, PAGE_SIZE, 0);
memAddBank(*lastMemUsedOut, *lastMemUsedOut, 0);
memAddBank(*firstUsed, *lastMemUsedOut, 0);
return 0;
}