mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-10 02:02:30 +00:00
Fix the rat for now.
This commit is contained in:
parent
8a880288c9
commit
e604e17df7
1 changed files with 3 additions and 3 deletions
|
|
@ -51,9 +51,9 @@ namespace Cosmos.Core.Memory {
|
|||
|
||||
var xPtr = (Native*)RAT.Alloc(RAT.PageType.HeapSmall);
|
||||
*xPtr = 0;
|
||||
for (void** p = mSMT + aItemSize; ; p--) {
|
||||
// TODO - Make a free list, put a ptr in item header and first page header - how to keep compact?
|
||||
}
|
||||
//for (void** p = mSMT + aItemSize; ; p--) {
|
||||
//// TODO - Make a free list, put a ptr in item header and first page header - how to keep compact?
|
||||
//}
|
||||
// Header
|
||||
// Ptr to next page of same size
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue