MemoryManager: Reduce the page table size based on last big page address.

This commit is contained in:
Fernando Sahmkow
2024-02-01 12:42:11 +01:00
parent c98d0e185f
commit f740d8b9be
4 changed files with 19 additions and 14 deletions

View File

@ -10,7 +10,7 @@ namespace Host1x {
Host1x::Host1x(Core::System& system_)
: system{system_}, syncpoint_manager{},
memory_manager(system.DeviceMemory()), gmmu_manager{system, memory_manager, 32, 12},
memory_manager(system.DeviceMemory()), gmmu_manager{system, memory_manager, 32, 0, 12},
allocator{std::make_unique<Common::FlatAllocator<u32, 0, 32>>(1 << 12)} {}
Host1x::~Host1x() = default;