Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-04-02 | kernel: get rid of physical page bank array and use conf.mem[] instead | cinap_lenrek | |
We can take advantage of the fact that xinit() allocates kernel memory from conf.mem[] banks always at the beginning of a bank, so the separate palloc.mem[] array can be eleminated as we can calculate the amount of non-kernel memory like: upages = cm->npage - (PGROUND(cm->klimit - cm->kbase)/BY2PG) for the number of reserved kernel pages, we provide the new function: ulong nkpages(Confmem*) This eleminates the error case of running out of slots in the array and avoids wasting memory in ports that have simple memory configurations (compared to pc/pc64). | |||
2015-06-19 | kernel: ignore last page at the top of virtual kernel address space for xalloc() | cinap_lenrek | |
avoding kernel address -BY2PG because of end pointer wrapping to zero. | |||
2014-12-18 | kernel: print addresses in hex and sizes in decimal in xallocsummary | cinap_lenrek | |
2014-08-16 | kernel: xinit() use ulong for page counts, cleanup | cinap_lenrek | |
2014-08-07 | pc, pc64: make pc kaddr() check reject -KZERO address (thanks aiju) | cinap_lenrek | |
2014-02-01 | kernel: fix pointer truncation in xspanalloc(), fix format prints | cinap_lenrek | |
2014-01-21 | kernel: fix ulong abuse in xalloc | cinap_lenrek | |
2011-03-30 | Import sources from 2011-03-30 iso image - lib | Taru Karttunen | |
2011-03-30 | Import sources from 2011-03-30 iso image | Taru Karttunen | |