mem: Correct physical mem for code bank

master
Mathieu Maret 2 weeks ago
parent e754feab32
commit ed55f1cc23
  1. 2
      core/mem.c

@ -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…
Cancel
Save