Rework VMM + Adapt KMemory Objects to be in-process

Note: This commit isn't functional on it's own, it will require the rest of NCE3 to work
This commit is contained in:
◱ PixelyIon
2020-10-04 22:10:52 +05:30
committed by ◱ PixelyIon
parent 7b13f2d387
commit 60e82e6af0
23 changed files with 347 additions and 1202 deletions

View File

@ -37,7 +37,6 @@ namespace skyline::gpu::vmm {
*chunk = newChunk;
} else {
chunk->size = newSize;
chunk = chunks.insert(std::next(chunk), newChunk);
}
@ -68,7 +67,6 @@ namespace skyline::gpu::vmm {
if (tailChunk->state == ChunkState::Mapped)
tailChunk->cpuAddress += chunkSliceOffset;
// If the size of the head chunk is zero then we can directly replace it with our new one rather than inserting it
auto headChunk{std::prev(tailChunk)};
if (headChunk->size == 0)