mem: Correct physical mem for code bank
This commit is contained in:
parent
e754feab32
commit
ed55f1cc23
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user